boost: fixed file paths

This commit is contained in:
Danny Rawlins 2007-07-22 22:46:23 +10:00
parent 99861f741b
commit 76a5dca0c2
2 changed files with 4177 additions and 4329 deletions

File diff suppressed because it is too large Load Diff

View File

@ -6,16 +6,38 @@
name=boost
version=1.34.0
release=2
release=3
source=(http://dl.sourceforge.net/sourceforge/boost/boost_${version//./_}.tar.bz2)
build() {
cd boost_${version//./_}
./configure --prefix=$PKG/usr
make
#make check
make install
local version=${version%.*}
ln -sf /usr/include/boost-${version//./_}/boost/ $PKG/usr/include/boost
local bindir='bin.linuxx86'
local gccversion="$(pkginfo -i |grep '^gcc ' |awk '{print $2}' |sed -e "s/\([.0-9]*\)-1/\1/")"
export CFLAGS="$CFLAGS -fno-strict-aliasing"
(
cd tools/jam/src
./build.sh gcc
install -D -m755 $bindir/bjam $PKG/usr/bin/bjam
)
(
cd tools/bcp
../jam/src/$bindir/bjam --toolset=gcc debug-symbols=off
install -D -m755 ../../bin.v2/tools/bcp/gcc-$gccversion/release/link-static/bcp $PKG/usr/bin/bcp
)
./tools/jam/src/$bindir/bjam \
release debug-symbols=off threading=single,multi \
runtime-link=shared link=shared,static \
--prefix=$PKG/usr \
--toolset=gcc \
--layout=system \
install
cd libs/python/pyste/install
python setup.py install --root=$PKG
mv $PKG/usr/bin/pyste.py $PKG/usr/bin/pyste
}