We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b34be1b + 812d136 commit 5d8236eCopy full SHA for 5d8236e
recipes/pyqrcode/recipe.sh
@@ -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
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