Skip to content

Commit 5d8236e

Browse files
author
Ryan Northey
committed
Merge remote-tracking branch 'phlax/pyqrcode'
2 parents b34be1b + 812d136 commit 5d8236e

File tree

4 files changed

+1154
-0
lines changed

4 files changed

+1154
-0
lines changed

recipes/pyqrcode/recipe.sh

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#!/bin/bash
2+
3+
VERSION_pyqrcode=
4+
URL_pyqrcode=
5+
DEPS_pyqrcode=(pil)
6+
MD5_pyqrcode=
7+
BUILD_pyqrcode=$BUILD_PATH/pyqrcode/pyqrcode
8+
RECIPE_pyqrcode=$RECIPES_PATH/pyqrcode
9+
10+
function prebuild_pyqrcode() {
11+
cd $BUILD_PATH/pyqrcode
12+
13+
if [ ! -d pyqrcode ]; then
14+
try cp -a $RECIPE_pyqrcode/src $BUILD_pyqrcode
15+
fi
16+
}
17+
18+
function build_pyqrcode() {
19+
cd $BUILD_pyqrcode
20+
21+
# if the last step have been done, avoid all
22+
if [ -f .done ]; then
23+
return
24+
fi
25+
26+
push_arm
27+
try $BUILD_PATH/python-install/bin/python.host setup.py install -O2
28+
touch .done
29+
pop_arm
30+
}
31+
32+
function postbuild_pyqrcode() {
33+
true
34+
}

0 commit comments

Comments
 (0)