aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-06-12 04:11:27 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-12 07:47:26 -0500
commit279e77c532450677fc5fd50d1f3063946f03adc8 (patch)
treed823c3c83aa076e9f62ef4fa56ddcf7b67dc8ec5 /libraries
parent8865baedef5c6492905fe0465fc83a82204168a6 (diff)
libraries/libtorrent-rasterbar: Updated for version 0.15.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild33
-rw-r--r--libraries/libtorrent-rasterbar/libtorrent-rasterbar.info8
2 files changed, 17 insertions, 24 deletions
diff --git a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild
index 33cf0b902996..3fe201b4ec5f 100644
--- a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild
+++ b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild
@@ -23,25 +23,23 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libtorrent-rasterbar
-VERSION=0.14.8
+VERSION=0.15.0
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i486 ;;
+ arm*) export ARCH=arm ;;
+ *) export ARCH=$( uname -m ) ;;
+ esac
+fi
+
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -51,6 +49,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
fi
set -eu
@@ -76,24 +77,16 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
--enable-python-binding \
--with-zlib=system \
--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
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/ \
+cp -a AUTHORS COPYING ChangeLog NEWS README docs/ \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.info b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.info
index 711201a568ce..d8cdaf36584c 100644
--- a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.info
+++ b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.info
@@ -1,10 +1,10 @@
PRGNAM="libtorrent-rasterbar"
-VERSION="0.14.8"
+VERSION="0.15.0"
HOMEPAGE="http://www.rasterbar.com/products/libtorrent/"
-DOWNLOAD="http://libtorrent.googlecode.com/files/libtorrent-rasterbar-0.14.8.tar.gz"
-MD5SUM="3fae9934b74e2ddf2c50c1f0ec320d75"
+DOWNLOAD="http://libtorrent.googlecode.com/files/libtorrent-rasterbar-0.15.0.tar.gz"
+MD5SUM="3f8253457557a3f4778fa18fa076c5c9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="dsomero"
+APPROVED="rworkman"