Subversion Repository

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations)
Sun Oct 4 14:31:24 2009 UTC (3 years, 8 months ago) by cjg
File size: 1110 byte(s)
importing opt
1 # Description: Boost provides free peer-reviewed portable C++ source libraries.
2 # URL: http://boost.sourceforge.net
3 # Maintainer: Giuseppe Coviello <cjg@cruxppc.org>
4 # Depends on: python, bzip2, zlib
5
6 name=boost
7 version=1.34.1
8 release=1
9 source=(http://dl.sourceforge.net/sourceforge/$name/${name}_1_34_1.tar.gz)
10
11 build() {
12 cd ${name}_1_34_1
13 export CFLAGS="${CFLAGS} -fno-strict-aliasing"
14
15 cd tools/jam/src
16 ./build.sh cc
17
18 _bindir="bin.linuxx86"
19
20 if [ "`uname -m`" == "ppc" ]; then
21 _bindir="bin.linuxppc"
22 fi
23
24 install -D -m755 $_bindir/bjam $PKG/usr/bin/bjam
25
26 cd ../../bcp
27 ../jam/src/$_bindir/bjam
28 install -D -m755 $SRC/${name}_1_34_1/dist/bin/bcp $PKG/usr/bin/bcp
29
30 cd $SRC/${name}_1_34_1
31 ./tools/jam/src/$_bindir/bjam \
32 release debug-symbols=off threading=single,multi \
33 runtime-link=shared link=shared,static \
34 --prefix=$PKG/usr \
35 -sPYTHON_ROOT=/usr \
36 -sPYTHON_VERSION=2.5 \
37 -sTOOLS=gcc \
38 --layout=system \
39 install
40
41 cd libs/python/pyste/install
42 python setup.py install --root=$PKG
43 }