forked from kivy/python-for-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrecipe.sh
More file actions
31 lines (25 loc) · 717 Bytes
/
recipe.sh
File metadata and controls
31 lines (25 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
VERSION_greenlet=${VERSION_greenlet:-0.4.1}
URL_greenlet=https://pypi.python.org/packages/source/g/greenlet/greenlet-$VERSION_greenlet.zip
https://github.com/downloads/greenlet/greenlet/greenlet-$VERSION_greenlet.tar.gz
DEPS_greenlet=(python)
MD5_greenlet=c2deda75bdda59c38cae12a77cc53adc
BUILD_greenlet=$BUILD_PATH/greenlet/$(get_directory $URL_greenlet)
RECIPE_greenlet=$RECIPES_PATH/greenlet
function prebuild_greenlet() {
true
}
function shouldbuild_greenlet() {
if [ -d "$SITEPACKAGES_PATH/greenlet" ]; then
DO_BUILD=0
fi
}
function build_greenlet() {
cd $BUILD_greenlet
push_arm
try $HOSTPYTHON setup.py install -O2
pop_arm
}
function postbuild_greenlet() {
true
}