diff options
author | Iskar Enev <iskar.enev[@]gmail.com> | 2010-05-11 22:25:50 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-11 22:25:50 +0200 |
commit | 9f5098b07e67db6dc63ed6f82790c47ee0e88927 (patch) | |
tree | 31d1b6720cb440e1dd520fb44540270faf00a06e /network/transmission/transmission.SlackBuild | |
parent | 1c737991b62532b061b37955c3c6cf19797ccea6 (diff) | |
download | slackbuilds-9f5098b07e67db6dc63ed6f82790c47ee0e88927.tar.gz |
network/transmission: Updated for version 1.34
Diffstat (limited to 'network/transmission/transmission.SlackBuild')
-rw-r--r-- | network/transmission/transmission.SlackBuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/network/transmission/transmission.SlackBuild b/network/transmission/transmission.SlackBuild index 232890f4a0..02c579bf17 100644 --- a/network/transmission/transmission.SlackBuild +++ b/network/transmission/transmission.SlackBuild @@ -3,10 +3,8 @@ # Slackware build script for transmission # Written by Iskar Enev <iskar.enev[@]gmail.com> -# Update by Andrew Brouwers, abrouwers at gmail dot com - PRGNAM=transmission -VERSION=1.06 +VERSION=1.34 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -16,12 +14,14 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCUMENTATION="AUTHORS COPYING INSTALL LICENSE NEWS README" +DOCUMENTATION="AUTHORS COPYING INSTALL NEWS README" if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" fi set -e @@ -44,13 +44,15 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --disable-static \ - --verbose + --verbose \ + --build=$ARCH-slackware-linux \ + --host=$ARCH-slackware-linux 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 + 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 ) |