libraries/libtorrent-rasterbar: Miscellaneous cleanups.

This commit is contained in:
dsomero 2010-05-22 10:04:37 -04:00 committed by David Somero
parent bfbc8e8c6f
commit f14f47974f

View file

@ -24,10 +24,19 @@
PRGNAM=libtorrent-rasterbar
VERSION=0.14.8
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) export ARCH=i486 ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) export ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@ -66,11 +75,12 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
--disable-static \
--enable-python-binding \
--with-zlib=system \
--with-boost-system=mt \
--with-boost-filesystem=mt \
--with-boost-thread=mt \
--with-boost-regex=mt \
--with-boost-program-options=mt \
--with-boost-libdir=/usr/lib${LIBDIRSUFFIX} \
--with-boost-system=boost_system \
--with-boost-filesystem=boost_filesystem \
--with-boost-thread=boost_thread \
--with-boost-regex=boost_regex \
--with-boost-program-options=boost_program_options \
--build=$ARCH-slackware-linux
make