File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ VERSION_paramiko=1.10.1
3+ DEPS_paramiko=(pycrypto hostpython python)
4+ URL_paramiko=http://pypi.python.org/packages/source/p/paramiko/paramiko-$VERSION_paramiko .tar.gz
5+ MD5_paramiko=4ba105e2d8535496fd633889396b20b7
6+ BUILD_paramiko=$BUILD_PATH /paramiko/$( get_directory $URL_paramiko )
7+ RECIPE_paramiko=$RECIPES_PATH /paramiko
8+
9+ # function called for preparing source code if needed
10+ # (you can apply patch etc here.)
11+ function prebuild_paramiko() {
12+ true
13+ }
14+
15+ # function called to build the source code
16+ function build_paramiko() {
17+
18+ if [ -d " $BUILD_PATH /python-install/lib/python2.7/site-packages/paramiko" ]; then
19+ return
20+ fi
21+
22+ cd $BUILD_paramiko
23+ push_arm
24+ export EXTRA_CFLAGS=" --host linux-armv"
25+ try $BUILD_PATH /python-install/bin/python.host setup.py install -O2
26+ pop_arm
27+ }
28+
29+ # function called after all the compile have been done
30+ function postbuild_paramiko() {
31+ true
32+ }
33+
You can’t perform that action at this time.
0 commit comments