network/rtorrent: Updated for version 0.9.4.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2014-10-22 23:51:00 +07:00
parent 7c28100481
commit 11d40c4532
2 changed files with 8 additions and 10 deletions

View file

@ -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

View file

@ -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"