summaryrefslogtreecommitdiff
path: root/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-12 17:41:49 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:41:49 +0200
commita86dce83ef4bca8b610631543e38d15c18464172 (patch)
treed0e0f48ee60aa4d525cc2ae77eaeb87d8d55778f /libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild
parent0e396108c58d0cee8b9db81c64c6b2b8c6e50d3c (diff)
downloadslackbuilds-a86dce83ef4bca8b610631543e38d15c18464172.tar.gz
libraries/libtorrent-rasterbar: Updated for version 0.14.3
Diffstat (limited to 'libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild')
-rw-r--r--libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild
index 3052415e27..06f1081ff2 100644
--- a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild
+++ b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild
@@ -4,7 +4,7 @@
# Written by Erik Hanson erik@slackbuilds.org
PRGNAM=libtorrent-rasterbar
-VERSION=0.13.1
+VERSION=0.14.3
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -18,6 +18,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
rm -rf $PKG
@@ -29,9 +31,6 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-# Patch lifted from Zenwalk
-patch -p0 < $CWD/boost-1.36.0.patch
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -39,6 +38,8 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var/lib \
--disable-static \
+ --enable-python-binding \
+ --with-zlib=system \
--build=$ARCH-slackware-linux
make
@@ -47,6 +48,9 @@ make install-strip DESTDIR=$PKG
# Install missing asio includes; thanks to Heinz Wiesinger.
cp -a include/libtorrent/asio $PKG/usr/include/libtorrent/
+# Remove empty directory; thanks to Larry Hajali.
+rmdir $PKG/usr/bin
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README docs/ \
$PKG/usr/doc/$PRGNAM-$VERSION