network/transmission: Updaetd for version 2.0.3.

Signed-off-by: Michiel van Wessem <michiel@slackbuilds.org>
This commit is contained in:
Iskar Enev 2010-08-10 01:35:29 +01:00 committed by Michiel van Wessem
parent ebd1d1551a
commit f15ce42eac
2 changed files with 14 additions and 15 deletions

View file

@ -3,16 +3,15 @@
# Written by Iskar Enev <iskar.enev[@]gmail.com>
PRGNAM=transmission
VERSION=1.92
VERSION=2.03
ARCH=${ARCH:-i486}
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
@ -48,11 +47,7 @@ mkdir -p $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
chmod -R a-s,u+w,go+r-w .
sed -i -e 's%-g -O3 -funroll-loops %%g' configure.ac
sed -i -e 's%-ggdb3 %%g' configure.ac
@ -81,8 +76,12 @@ make install DESTDIR=$PKG
INSTALL_ROOT=$PKG/usr make install
)
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
)
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;

View file

@ -1,10 +1,10 @@
PRGNAM="transmission"
VERSION="1.92"
VERSION="2.03"
HOMEPAGE="http://www.transmissionbt.com/"
DOWNLOAD="http://download.m0k.org/transmission/files/transmission-1.92.tar.bz2"
MD5SUM="561357621331f294c87f78e22783a283"
DOWNLOAD="http://download.m0k.org/transmission/files/transmission-2.03.tar.bz2"
MD5SUM="7296c85673ed767a35de3883cb27b545"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Iskar Enev"
EMAIL="<iskar.enev[@]gmail.com>"
APPROVED="Erik Hanson"
APPROVED="Michiel"