File tree Expand file tree Collapse file tree 2 files changed +25
-22
lines changed
Expand file tree Collapse file tree 2 files changed +25
-22
lines changed Original file line number Diff line number Diff line change 1+ --- python/setup-threadfix.py 2013-05-29 13:10:16.000000000 -0400
2+ +++ python/setup.py 2013-06-07 11:53:34.447298388 -0400
3+ @@ -22,7 +22,6 @@
4+ libraries = [
5+ 'm',
6+ 'dl',
7+ - 'pthread',
8+ ],
9+ sources=[
10+ 'pylibpd.i',
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3-
4- # version of your package
5- VERSION_pylibpd=1.3
6-
7- # dependencies of this recipe
8- DEPS_pylibpd=()
9-
10- # url of the
11- URL_pylibpd=http://ticklestep.com/pylibpd.tar.gz
12-
13- # md5 of the package
14- MD5_pylibpd=647f813726c21445c42bc2fc77a4b146
15-
16- # default build path
3+ VERSION_pylibpd=
4+ DEPS_pylibpd=(python)
5+ URL_pylibpd=https://github.com/libpd/libpd/archive/master.zip
6+ MD5_pylibpd=
177BUILD_pylibpd=$BUILD_PATH /pylibpd/$( get_directory $URL_pylibpd )
18-
19- # default recipe path
208RECIPE_pylibpd=$RECIPES_PATH /pylibpd
219
22- # function called for preparing source code if needed
23- # (you can apply patch etc here.)
2410function prebuild_pylibpd() {
25- true
11+ # Apply thread removal patch
12+ cd $BUILD_pylibpd /python
13+ if [ -f .patched ]; then
14+ return
15+ fi
16+ try patch -p1 < $RECIPE_pylibpd /patches/threadfix.patch
17+ touch .patched
2618}
2719
28- # function called to build the source code
2920function build_pylibpd() {
3021 cd $BUILD_pylibpd /python
3122 push_arm
32- $BUILD_PATH /python-install/bin/python.host setup.py install -O2
23+ try $BUILD_PATH /python-install/bin/python.host setup.py build
24+ try $BUILD_PATH /python-install/bin/python.host setup.py install -O2
25+ try $BUILD_PATH /python-install/bin/python.host setup.py clean
3326 pop_arm
3427}
3528
3629# function called after all the compile have been done
3730function postbuild_pylibpd() {
38- true
31+ true
3932}
You can’t perform that action at this time.
0 commit comments