Skip to content

Commit 8a82662

Browse files
committed
Merge pull request kivy#125 from vkvn/master
Added recipe for paramiko
2 parents f1574bb + f87ca08 commit 8a82662

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

recipes/paramiko/recipe.sh

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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+

0 commit comments

Comments
 (0)