mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/libtorrent-rasterbar: Miscellaneous cleanups.
This commit is contained in:
parent
bfbc8e8c6f
commit
f14f47974f
1 changed files with 16 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue