File tree 1 file changed +31
-0
lines changed
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ VERSION_gevent=0.13.8
4
+ URL_gevent=https://pypi.python.org/packages/source/g/gevent/gevent-$VERSION_gevent .tar.gz
5
+ DEPS_gevent=(libevent greenlet)
6
+ MD5_gevent=ca9dcaa7880762d8ebbc266b11252960
7
+ BUILD_gevent=$BUILD_PATH /gevent/$( get_directory $URL_gevent )
8
+ RECIPE_gevent=$RECIPES_PATH /gevent
9
+
10
+ function prebuild_gevent() {
11
+ true
12
+ }
13
+
14
+ function build_gevent() {
15
+ cd $BUILD_gevent
16
+
17
+ if [ -d " $BUILD_PATH /python-install/lib/python2.7/site-packages/gevent" ]; then
18
+ return
19
+ fi
20
+
21
+ push_arm
22
+ export CFLAGS=" $CFLAGS -I$BUILD_libevent /build/include"
23
+ export LDFLAGS=" $LDFLAGS -L$LIBS_PATH -L$BUILD_libevent /build/lib/"
24
+
25
+ try $BUILD_PATH /python-install/bin/python.host setup.py install -O2
26
+ pop_arm
27
+ }
28
+
29
+ function postbuild_gevent() {
30
+ true
31
+ }
You can’t perform that action at this time.
0 commit comments