summaryrefslogtreecommitdiffstats
path: root/network/rtorrent
diff options
context:
space:
mode:
Diffstat (limited to 'network/rtorrent')
-rw-r--r--network/rtorrent/README2
-rw-r--r--network/rtorrent/rtorrent.SlackBuild12
-rw-r--r--network/rtorrent/rtorrent.info6
3 files changed, 13 insertions, 7 deletions
diff --git a/network/rtorrent/README b/network/rtorrent/README
index 6c05b5620f..74e8064101 100644
--- a/network/rtorrent/README
+++ b/network/rtorrent/README
@@ -2,3 +2,5 @@ rtorrent is a BitTorrent client for ncurses, using the libtorrent
library. The client and library is written in C++ with emphasis on speed
and efficiency, while delivering equivalent features to those found in
GUI based clients in an ncurses client.
+
+Optional dependency: xmlrpc-c
diff --git a/network/rtorrent/rtorrent.SlackBuild b/network/rtorrent/rtorrent.SlackBuild
index 2ea4277a72..421bf99503 100644
--- a/network/rtorrent/rtorrent.SlackBuild
+++ b/network/rtorrent/rtorrent.SlackBuild
@@ -11,13 +11,13 @@
# Updated to 0.9.0 by Brian Kysela 2011-12-12
PRGNAM=rtorrent
-VERSION=${VERSION:-0.9.6}
+VERSION=${VERSION:-0.9.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -28,8 +28,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -42,6 +42,8 @@ else
LIBDIRSUFFIX=""
fi
+xmlrpcc="" ; [ -x /usr/bin/xmlrpc-c-config ] && xmlrpcc="--with-xmlrpc-c"
+
set -e
rm -rf $PKG
@@ -66,6 +68,8 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ $xmlrpcc \
+ --disable-debug \
--build=$ARCH-slackware-linux
make
diff --git a/network/rtorrent/rtorrent.info b/network/rtorrent/rtorrent.info
index 8a62df8ffa..90c5124f2a 100644
--- a/network/rtorrent/rtorrent.info
+++ b/network/rtorrent/rtorrent.info
@@ -1,8 +1,8 @@
PRGNAM="rtorrent"
-VERSION="0.9.6"
+VERSION="0.9.7"
HOMEPAGE="https://github.com/rakshasa/rtorrent"
-DOWNLOAD="http://rtorrent.net/downloads/rtorrent-0.9.6.tar.gz"
-MD5SUM="5e7550f74e382a6245412c615f45444d"
+DOWNLOAD="http://rtorrent.net/downloads/rtorrent-0.9.7.tar.gz"
+MD5SUM="284b833794ce3ab4ddc62cf1a20edeb1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libtorrent"