summaryrefslogtreecommitdiffstats
path: root/libtorrent-rasterbar
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2012-06-03 13:27:53 +0000
committer Eric Hameleers <alien@slackware.com>2012-06-03 13:27:53 +0000
commit4e13434c3bfb1a1afc45c2d0db0f6834ce848c16 (patch)
tree726d176ed4b87a6b8ea23451b896e09ae72b2a26 /libtorrent-rasterbar
parent10313f2b2dee3cb04062afc710b321f4386b8ae9 (diff)
downloadasb-4e13434c3bfb1a1afc45c2d0db0f6834ce848c16.tar.gz
asb-4e13434c3bfb1a1afc45c2d0db0f6834ce848c16.tar.xz
Update to 0.16.0
Diffstat (limited to 'libtorrent-rasterbar')
-rwxr-xr-xlibtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/libtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild b/libtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild
index 3bca68fa..4beb67ef 100755
--- a/libtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild
+++ b/libtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild
@@ -48,6 +48,8 @@
# * Update.
# 0.15.10-1: 17/apr/2012 by Eric Hameleers <alien@slackware.com>
# * Update.
+# 0.16.0-1: 04/jun/2012 by Eric Hameleers <alien@slackware.com>
+# * Update.
#
# Run 'sh libtorrent-rasterbar.SlackBuild' to build a Slackware package.
# The package (.tgz) and .txt file as well as build logs are created in /tmp .
@@ -58,7 +60,7 @@
# Set initial variables:
PRGNAM=libtorrent-rasterbar
-VERSION=${VERSION:-0.15.10}
+VERSION=${VERSION:-0.16.0}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:" -j4 "}
TAG=${TAG:-alien}
@@ -83,10 +85,11 @@ SRCURL="http://libtorrent.googlecode.com/files/${PRGNAM}-${VERSION}.tar.gz"
# 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 ;;
+ i?86) export ARCH=i486 ;;
+ armv7hl) export ARCH=$MARCH ;;
+ arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
- *) export ARCH=$( uname -m ) ;;
+ *) export ARCH=$MARCH ;;
esac
fi
@@ -97,6 +100,9 @@ case "$ARCH" in
x86_64) SLKCFLAGS="-O2 -fPIC"
SLKLDFLAGS="-L/usr/lib64"; LIBDIRSUFFIX="64"
;;
+ armv7hl) SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
+ SLKLDFLAGS=""; LIBDIRSUFFIX=""
+ ;;
*) SLKCFLAGS="-O2"
SLKLDFLAGS=""; LIBDIRSUFFIX=""
;;