File tree 1 file changed +40
-0
lines changed
1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ URL_polygon=https://bitbucket.org/jraedler/polygon2/get/ec07628ee633.zip
4
+ DEPS_polygon=(python)
5
+ MD5_polygon=
6
+ BUILD_polygon=$BUILD_PATH /polygon/$( get_directory $URL_polygon )
7
+ RECIPE_polygon=$RECIPES_PATH /polygon
8
+
9
+ function prebuild_polygon() {
10
+ true
11
+ }
12
+
13
+ function shouldbuild_polygon() {
14
+ if [ -d " $SITEPACKAGES_PATH /polygon" ]; then
15
+ DO_BUILD=0
16
+ fi
17
+ }
18
+
19
+ function build_polygon() {
20
+ cd $BUILD_polygon
21
+ echo " helllooo"
22
+ push_arm
23
+
24
+ export LDSHARED=" $LIBLINK "
25
+
26
+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
27
+ try $HOSTPYTHON setup.py build_ext -v
28
+ try find build/lib.* -name " *.o" -exec $STRIP {} \;
29
+
30
+ export PYTHONPATH=$BUILD_hostpython /Lib/site-packages
31
+ echo $BUILD_hostpython /hostpython
32
+ try $BUILD_hostpython /hostpython setup.py install -O2 --root=$BUILD_PATH /python-install --install-lib=lib/python2.7/site-packages
33
+
34
+ unset LDSHARED
35
+ pop_arm
36
+ }
37
+
38
+ function postbuild_polygon() {
39
+ true
40
+ }
You can’t perform that action at this time.
0 commit comments