mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
network/transmission: Updated for version 1.34
This commit is contained in:
parent
1c737991b6
commit
9f5098b07e
3 changed files with 14 additions and 12 deletions
|
@ -5,7 +5,7 @@
|
||||||
# make exactly 11 lines for the formatting to be correct. It's also
|
# make exactly 11 lines for the formatting to be correct. It's also
|
||||||
# customary to leave one space after the ':'.
|
# customary to leave one space after the ':'.
|
||||||
|
|
||||||
|-----handy-ruler------------------------------------------------------|
|
|-----handy-ruler------------------------------------------------|
|
||||||
transmission: Transmission (bittorrent client)
|
transmission: Transmission (bittorrent client)
|
||||||
transmission:
|
transmission:
|
||||||
transmission: Transmission is a lightweight open source BitTorrent client,
|
transmission: Transmission is a lightweight open source BitTorrent client,
|
||||||
|
|
|
@ -3,10 +3,8 @@
|
||||||
# Slackware build script for transmission
|
# Slackware build script for transmission
|
||||||
# Written by Iskar Enev <iskar.enev[@]gmail.com>
|
# Written by Iskar Enev <iskar.enev[@]gmail.com>
|
||||||
|
|
||||||
# Update by Andrew Brouwers, abrouwers at gmail dot com
|
|
||||||
|
|
||||||
PRGNAM=transmission
|
PRGNAM=transmission
|
||||||
VERSION=1.06
|
VERSION=1.34
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
@ -16,12 +14,14 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
DOCUMENTATION="AUTHORS COPYING INSTALL LICENSE NEWS README"
|
DOCUMENTATION="AUTHORS COPYING INSTALL NEWS README"
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
@ -44,13 +44,15 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--verbose
|
--verbose \
|
||||||
|
--build=$ARCH-slackware-linux \
|
||||||
|
--host=$ARCH-slackware-linux
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
( cd $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
|
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="transmission"
|
PRGNAM="transmission"
|
||||||
VERSION="1.06"
|
VERSION="1.34"
|
||||||
HOMEPAGE="http://www.transmissionbt.com/"
|
HOMEPAGE="http://www.transmissionbt.com/"
|
||||||
DOWNLOAD="http://download.m0k.org/transmission/files/transmission-1.06.tar.bz2"
|
DOWNLOAD="http://download.m0k.org/transmission/files/transmission-1.34.tar.bz2"
|
||||||
MD5SUM="471e4bd40e1464067a3e266ecf3cb724"
|
MD5SUM="c4ef93639bcb895c1b3d279b2f4e27b3"
|
||||||
MAINTAINER="Iskar Enev"
|
MAINTAINER="Iskar Enev"
|
||||||
EMAIL="iskar.enev[@]gmail.com"
|
EMAIL="<iskar.enev[@]gmail.com>"
|
||||||
APPROVED="rworkman"
|
APPROVED="David Somero"
|
||||||
|
|
Loading…
Reference in a new issue