diff options
author | Marco Bonetti <sid77@slackware.it> | 2010-05-13 00:36:09 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-13 00:36:09 +0200 |
commit | 9904452d56a1cf26fe801c89fba888277e9a1b87 (patch) | |
tree | 6a9028ce8bb0cdb8e5452141e6bcaaf1562d107e /network/deluge/deluge.SlackBuild | |
parent | 536e14fb711096cdb41eb95a3b88491d1438627a (diff) |
network/deluge: Updated for version 1.2.0
Diffstat (limited to 'network/deluge/deluge.SlackBuild')
-rw-r--r-- | network/deluge/deluge.SlackBuild | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/network/deluge/deluge.SlackBuild b/network/deluge/deluge.SlackBuild index 7039aa6f84e1d..6349c7002366f 100644 --- a/network/deluge/deluge.SlackBuild +++ b/network/deluge/deluge.SlackBuild @@ -1,8 +1,10 @@ #!/bin/sh -# Slackware build script for deluge -# Written by Stylianos Tsampas (ztsampas@otenet.gr) -# +# Slackware build script for deluge. + +# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it> +# All rights reserved. +# # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: # @@ -20,8 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=deluge -VERSION=${VERSION:-1.1.0} +PRGNAM=deluge +VERSION=${VERSION:-1.2.0} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -31,6 +33,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +DOCS="LICENSE ChangeLog* README" + if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then @@ -45,7 +49,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . @@ -75,7 +79,7 @@ rm -r $PKG/usr/share/man ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE ChangeLog* README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/slack-desc > $PKG/usr/doc/$PRGNAM-$VERSION/slack-desc cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -84,4 +88,4 @@ 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 +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |