File tree 2 files changed +25
-22
lines changed
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 1
1
#! /bin/bash
2
2
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=
17
7
BUILD_pylibpd=$BUILD_PATH /pylibpd/$( get_directory $URL_pylibpd )
18
-
19
- # default recipe path
20
8
RECIPE_pylibpd=$RECIPES_PATH /pylibpd
21
9
22
- # function called for preparing source code if needed
23
- # (you can apply patch etc here.)
24
10
function 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
26
18
}
27
19
28
- # function called to build the source code
29
20
function build_pylibpd() {
30
21
cd $BUILD_pylibpd /python
31
22
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
33
26
pop_arm
34
27
}
35
28
36
29
# function called after all the compile have been done
37
30
function postbuild_pylibpd() {
38
- true
31
+ true
39
32
}
You can’t perform that action at this time.
0 commit comments