Skip to content

Commit 676f840

Browse files
committed
add recipe for pyasn1
1 parent f42edbe commit 676f840

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

recipes/pyasn1/recipe.sh

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#!/bin/bash
2+
3+
VERSION_pyasn1=2.5
4+
URL_pyasn1=http://downloads.sourceforge.net/project/pyasn1/pyasn1/0.1.4/pyasn1-0.1.4.tar.gz
5+
DEPS_pyasn1=()
6+
MD5_pyasn1=
7+
BUILD_pyasn1=$BUILD_PATH/pyasn1/$(get_directory $URL_pyasn1)
8+
RECIPE_pyasn1=$RECIPES_PATH/pyasn1
9+
10+
function prebuild_pyasn1() {
11+
true
12+
}
13+
14+
function build_pyasn1() {
15+
16+
if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/pyasn1" ]; then
17+
return
18+
fi
19+
20+
cd $BUILD_pyasn1
21+
22+
push_arm
23+
24+
try $BUILD_PATH/python-install/bin/python.host setup.py install -O2
25+
26+
pop_arm
27+
}
28+
29+
function postbuild_pyasn1() {
30+
true
31+
}

0 commit comments

Comments
 (0)