forked from ports/contrib
boost: fixed file paths
This commit is contained in:
parent
99861f741b
commit
76a5dca0c2
8470
boost/.footprint
8470
boost/.footprint
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user