Files
Arch-R/packages/devel/boost/build
2010-11-13 14:29:30 +01:00

23 lines
539 B
Bash
Executable File

#!/bin/sh
. config/options $1
cd $PKG_BUILD
sh bootstrap.sh \
--prefix=/usr \
--with-bjam=$ROOT/$TOOLCHAIN/bin/bjam \
--with-python=$ROOT/$TOOLCHAIN/bin/python \
echo "using gcc : `$TARGET_CC -v 2>&1 | tail -n 1 |awk '{print $3}'` : $TARGET_CC ; " \
> tools/build/v2/user-config.jam
$ROOT/$TOOLCHAIN/bin/bjam -d2 --toolset=gcc \
link=shared \
--prefix=$SYSROOT_PREFIX/usr \
--layout=system \
--with-thread \
--with-iostreams \
--with-system \
--with-regex -sICU_PATH="$SYSROOT_PREFIX/usr" \
install