network/transmission: Updated for version 1.52

This commit is contained in:
Iskar Enev 2010-05-12 17:44:19 +02:00 committed by David Somero
parent 49ccd61bf2
commit 550e43e6a6
4 changed files with 20 additions and 9 deletions

View file

@ -0,0 +1,3 @@
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi

View file

@ -12,7 +12,7 @@ transmission: Transmission is a lightweight open source BitTorrent client,
transmission: providing useful functionality without feature bloat.
transmission: It consists of a daemon, a GTK+ and a CLI client.
transmission:
transmission: http://transmission.m0k.org/
transmission: http://transmissionbt.com/
transmission:
transmission:
transmission:

View file

@ -1,10 +1,11 @@
#!/bin/sh
# Slackware build script for transmission
# Written by Iskar Enev <iskar.enev[@]gmail.com>
PRGNAM=transmission
VERSION=1.34
VERSION=1.52
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -34,7 +35,11 @@ mkdir -p $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@ -52,8 +57,10 @@ make
make install DESTDIR=$PKG
( 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
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
)
( cd $PKG/usr/man
@ -67,6 +74,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz

View file

@ -1,8 +1,8 @@
PRGNAM="transmission"
VERSION="1.34"
VERSION="1.52"
HOMEPAGE="http://www.transmissionbt.com/"
DOWNLOAD="http://download.m0k.org/transmission/files/transmission-1.34.tar.bz2"
MD5SUM="c4ef93639bcb895c1b3d279b2f4e27b3"
DOWNLOAD="http://download.m0k.org/transmission/files/transmission-1.52.tar.bz2"
MD5SUM="2a1a628c2a8872934575cb4351bca291"
MAINTAINER="Iskar Enev"
EMAIL="<iskar.enev[@]gmail.com>"
APPROVED="David Somero"
APPROVED="dsomero"