mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
network/rtorrent: Updated for version 0.8.7.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
parent
bf4fcf26db
commit
ab4d00b625
2 changed files with 12 additions and 10 deletions
|
@ -4,18 +4,17 @@
|
|||
# Written by Brian Kysela <brian.kysela@gmail.com> 2009-11-04
|
||||
# Updated to 0.8.6 by Brian Kysela 2010-02-16
|
||||
# Updated to include rtorrent.rc 2010-04-20
|
||||
# Updated to 0.8.7 by Brian Kysela 2010-10-27
|
||||
|
||||
PRGNAM=rtorrent
|
||||
VERSION=0.8.6
|
||||
BUILD=${BUILD:-2}
|
||||
VERSION=0.8.7
|
||||
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
|
||||
|
@ -63,14 +62,17 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
gzip -9 $PKG/usr/man/man?/*.?
|
||||
# Taken out as developer removed "out-of-date man page". If you want it back
|
||||
# in you will need to edit doc/Makefile.am in the source and uncomment
|
||||
# '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 \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
AUTHORS COPYING INSTALL NEWS README TODO doc/rtorrent.rc \
|
||||
AUTHORS COPYING INSTALL README TODO 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
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="rtorrent"
|
||||
VERSION="0.8.6"
|
||||
VERSION="0.8.7"
|
||||
HOMEPAGE="http://libtorrent.rakshasa.no/"
|
||||
DOWNLOAD="http://libtorrent.rakshasa.no/downloads/rtorrent-0.8.6.tar.gz"
|
||||
MD5SUM="b804c45c01c40312926bcea6b55bb084"
|
||||
DOWNLOAD="http://libtorrent.rakshasa.no/downloads/rtorrent-0.8.7.tar.gz"
|
||||
MD5SUM="d78f00dcf741c01254de72c0d3836761"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Brian Kysela"
|
||||
EMAIL="brian.kysela@gmail.com"
|
||||
APPROVED="michiel"
|
||||
APPROVED="Erik Hanson"
|
||||
|
|
Loading…
Reference in a new issue