Skip to content

Commit 83037be

Browse files
committed
rename chipmunk to cymunk
1 parent c9ee34a commit 83037be

File tree

2 files changed

+34
-33
lines changed

2 files changed

+34
-33
lines changed

recipes/chipmunk/recipe.sh

Lines changed: 0 additions & 33 deletions
This file was deleted.

recipes/cymunk/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_cymunk=
4+
URL_cymunk=http://github.com/tito/cymunk/zipball/master/cymunk.zip
5+
DEPS_cymunk=(python)
6+
MD5_cymunk=
7+
BUILD_cymunk=$BUILD_PATH/cymunk/$(get_directory $URL_cymunk)
8+
RECIPE_cymunk=$RECIPES_PATH/cymunk
9+
10+
function prebuild_cymunk() {
11+
true
12+
}
13+
14+
function build_cymunk() {
15+
cd $BUILD_cymunk
16+
17+
push_arm
18+
19+
export LDSHARED="$LIBLINK"
20+
21+
try find . -iname '*.pyx' -exec cython {} \;
22+
try $BUILD_PATH/python-install/bin/python.host setup.py build_ext -v
23+
try find build/lib.* -name "*.o" -exec $STRIP {} \;
24+
25+
export PYTHONPATH=$BUILD_hostpython/Lib/site-packages
26+
try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages
27+
28+
unset LDSHARED
29+
pop_arm
30+
}
31+
32+
function postbuild_cymunk() {
33+
true
34+
}

0 commit comments

Comments
 (0)