summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/rtorrent/rtorrent.SlackBuild12
-rw-r--r--network/rtorrent/rtorrent.info6
2 files changed, 8 insertions, 10 deletions
diff --git a/network/rtorrent/rtorrent.SlackBuild b/network/rtorrent/rtorrent.SlackBuild
index 3a35beefbe..b669bd769d 100644
--- a/network/rtorrent/rtorrent.SlackBuild
+++ b/network/rtorrent/rtorrent.SlackBuild
@@ -11,8 +11,8 @@
# Updated to 0.9.0 by Brian Kysela 2011-12-12
PRGNAM=rtorrent
-VERSION=0.9.0
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.9.4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -55,7 +55,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
LDFLAGS="-lpthread" \
CFLAGS="$SLKCFLAGS" \
@@ -76,13 +76,11 @@ make install DESTDIR=$PKG
# 'man_MANS = rtorrent.1' as well as the line below.
#gzip -9 $PKG/usr/man/man?/*.?
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING INSTALL README doc/rtorrent.rc \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING INSTALL README doc/rtorrent.rc $PKG/usr/doc/$PRGNAM-$VERSION
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-SlackBuild
diff --git a/network/rtorrent/rtorrent.info b/network/rtorrent/rtorrent.info
index 8642a359d5..2515b5302b 100644
--- a/network/rtorrent/rtorrent.info
+++ b/network/rtorrent/rtorrent.info
@@ -1,8 +1,8 @@
PRGNAM="rtorrent"
-VERSION="0.9.0"
+VERSION="0.9.4"
HOMEPAGE="http://libtorrent.rakshasa.no/"
-DOWNLOAD="http://libtorrent.rakshasa.no/downloads/rtorrent-0.9.0.tar.gz"
-MD5SUM="9bc258d7a63dd13e3348f310ae26a434"
+DOWNLOAD="http://libtorrent.rakshasa.no/downloads/rtorrent-0.9.4.tar.gz"
+MD5SUM="fd9490a2ac67d0fa2a567c6267845876"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libtorrent"