File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ VERSION_pyopenssl=0.13
4+ URL_pyopenssl=http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-$VERSION_pyopenssl .tar.gz
5+ DEPS_pyopenssl=(openssl python)
6+ MD5_pyopenssl= 767bca18a71178ca353dff9e10941929
7+ BUILD_pyopenssl=$BUILD_PATH /pyopenssl/$( get_directory $URL_pyopenssl )
8+ RECIPE_pyopenssl=$RECIPES_PATH /pyopenssl
9+
10+ function prebuild_pyopenssl() {
11+ true
12+ }
13+
14+ function build_pyopenssl() {
15+
16+ if [ -d " $BUILD_PATH /python-install/lib/python2.7/site-packages/pyOpenSSL" ]; then
17+ return
18+ fi
19+
20+ cd $BUILD_pyopenssl
21+
22+ push_arm
23+
24+ export CC=" $CC -I$BUILD_openssl /include"
25+ export LDFLAGS=" $LDFLAGS -L$LIBS_PATH -L$BUILD_openssl "
26+
27+ try $BUILD_PATH /python-install/bin/python.host setup.py build_ext -v
28+ try find build/lib.* -name " *.o" -exec $STRIP {} \;
29+
30+ try $BUILD_PATH /python-install/bin/python.host setup.py install -O2
31+
32+ try rm -rf $BUILD_PATH /python-install/lib/python* /site-packages/OpenSSL/test
33+
34+ pop_arm
35+ }
36+
37+ function postbuild_pyopenssl() {
38+ true
39+ }
You can’t perform that action at this time.
0 commit comments