Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions recipes/paramiko/recipe.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/bash
VERSION_paramiko=1.10.1
DEPS_paramiko=(pycrypto hostpython python)
URL_paramiko=http://pypi.python.org/packages/source/p/paramiko/paramiko-$VERSION_paramiko.tar.gz
MD5_paramiko=4ba105e2d8535496fd633889396b20b7
BUILD_paramiko=$BUILD_PATH/paramiko/$(get_directory $URL_paramiko)
RECIPE_paramiko=$RECIPES_PATH/paramiko

# function called for preparing source code if needed
# (you can apply patch etc here.)
function prebuild_paramiko() {
true
}

# function called to build the source code
function build_paramiko() {

if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/paramiko" ]; then
return
fi

cd $BUILD_paramiko
push_arm
export EXTRA_CFLAGS="--host linux-armv"
try $BUILD_PATH/python-install/bin/python.host setup.py install -O2
pop_arm
}

# function called after all the compile have been done
function postbuild_paramiko() {
true
}