Skip to content

Commit aca02d0

Browse files
committed
added libevent, gevent dependency
1 parent 37c2370 commit aca02d0

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

recipes/libevent/recipe.sh

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/bin/bash
2+
3+
VERSION_libevent=2.0.21-stable
4+
URL_libevent=https://github.com/downloads/libevent/libevent/libevent-$VERSION_libevent.tar.gz
5+
DEPS_libevent=(python)
6+
MD5_libevent=b2405cc9ebf264aa47ff615d9de527a2
7+
BUILD_libevent=$BUILD_PATH/libevent/$(get_directory $URL_libevent)
8+
RECIPE_libevent=$RECIPES_PATH/libevent
9+
10+
function prebuild_libevent() {
11+
true
12+
}
13+
14+
function build_libevent() {
15+
cd $BUILD_libevent
16+
17+
if [ -f $BUILD_libevent/build/lib/libevent.la ]; then
18+
return
19+
fi
20+
21+
push_arm
22+
try ./configure --build=i686-pc-linux-gnu --host=arm-linux-eabi --prefix=$BUILD_libevent/build/
23+
try make install
24+
pop_arm
25+
}
26+
27+
function postbuild_libevent() {
28+
true
29+
}

0 commit comments

Comments
 (0)