We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 05f3f3c + 663b9f3 commit 1f83249Copy full SHA for 1f83249
recipes/libffi/recipe.sh
@@ -0,0 +1,33 @@
1
+#!/bin/bash
2
+
3
+VERSION_libffi=${VERSION_libffi:-3.1}
4
+URL_libffi=https://github.com/atgreen/libffi/archive/v$VERSION_libffi.tar.gz
5
+#DEPS_libffi=(python)
6
+MD5_libffi=663d72841855334ff65b16d8d5decfe5
7
+BUILD_libffi=$BUILD_PATH/libffi/$(get_directory $URL_libffi)
8
+RECIPE_libffi=$RECIPES_PATH/libffi
9
10
+function prebuild_libffi() {
11
+ true
12
+}
13
14
+function shouldbuild_libffi() {
15
+ if [ -f $BUILD_libffi/build/lib/libffi.la ]; then
16
+ DO_BUILD=0
17
+ fi
18
19
20
+function build_libffi() {
21
+ cd $BUILD_libffi
22
23
+ push_arm
24
+ export GREP_OPTIONS=''
25
+ try ./autogen.sh
26
+ try ./configure --build=i686-pc-linux-gnu --host=arm-linux-eabi --prefix=$BUILD_libffi/build/
27
+ try make install
28
+ pop_arm
29
30
31
+function postbuild_libffi() {
32
33
0 commit comments