forked from kivy/python-for-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrecipe.sh
More file actions
31 lines (25 loc) · 737 Bytes
/
recipe.sh
File metadata and controls
31 lines (25 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
VERSION_libevent=${VERSION_libevent:-2.0.21-stable}
URL_libevent=https://github.com/downloads/libevent/libevent/libevent-$VERSION_libevent.tar.gz
DEPS_libevent=(python)
MD5_libevent=b2405cc9ebf264aa47ff615d9de527a2
BUILD_libevent=$BUILD_PATH/libevent/$(get_directory $URL_libevent)
RECIPE_libevent=$RECIPES_PATH/libevent
function prebuild_libevent() {
true
}
function shouldbuild_libevent() {
if [ -f $BUILD_libevent/build/lib/libevent.la ]; then
DO_BUILD=0
fi
}
function build_libevent() {
cd $BUILD_libevent
push_arm
try ./configure --build=i686-pc-linux-gnu --host=arm-linux-eabi --prefix=$BUILD_libevent/build/
try make install
pop_arm
}
function postbuild_libevent() {
true
}