mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
network/transmission: Updated for version 2.22.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
953083e068
commit
334c8132f0
4 changed files with 29 additions and 27 deletions
|
@ -1,7 +1,5 @@
|
|||
Transmission is a lightweight open source BitTorrent client,
|
||||
providing useful functionality without feature bloat. It consists
|
||||
of a daemon, a GTK+ and a CLI client.
|
||||
Transmission is a lightweight open source BitTorrent client, providing
|
||||
useful functionality without feature bloat. It consists of a daemon, a
|
||||
GTK+, Qt and CLI client.
|
||||
|
||||
Dependencies: libevent (available at SlackBuilds.org) is required,
|
||||
but transmission will use a built-in libevent if you don't have
|
||||
it installed already.
|
||||
This requires libevent.
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------|
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
transmission: Transmission (bittorrent client)
|
||||
transmission:
|
||||
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: providing useful functionality without feature bloat.
|
||||
transmission: It consists of a daemon, a GTK+, Qt and CLI client.
|
||||
transmission:
|
||||
transmission: Homepage: http://transmissionbt.com/
|
||||
transmission:
|
||||
|
|
|
@ -2,8 +2,11 @@
|
|||
# Slackware build script for transmission
|
||||
# Written by Iskar Enev <iskar.enev[@]gmail.com>
|
||||
|
||||
# As of version 2.22 maintained by Niels Horn <niels.horn@gmail.com>
|
||||
# Revision date: 2011/04/01
|
||||
|
||||
PRGNAM=transmission
|
||||
VERSION=2.03
|
||||
VERSION=${VERSION:-2.22}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -51,6 +54,9 @@ 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
|
||||
|
||||
# Fix hard-coded path of man file of Qt client
|
||||
sed -i "s|share/man/|man/|" qt/qtr.pro
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
@ -64,28 +70,26 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--build=$ARCH-slackware-linux \
|
||||
--host=$ARCH-slackware-linux
|
||||
|
||||
# build daemon, GTK and cli client
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
# build the Qt client (qtr)
|
||||
( cd $TMP/$PRGNAM-$VERSION/qt
|
||||
qmake "QMAKE_CXXFLAGS+=$SLKCFLAGS" "QMAKE_CFLAGS+=$SLKCFLAGS" qtr.pro
|
||||
# build the Qt client (transmission-qt)
|
||||
cd $TMP/$PRGNAM-$VERSION/qt
|
||||
qmake \
|
||||
QMAKE_CXXFLAGS+="$SLKCFLAGS" \
|
||||
QMAKE_CFLAGS+="$SLKCFLAGS" \
|
||||
qtr.pro
|
||||
sed -i -e 's% -g % %g' Makefile
|
||||
make
|
||||
INSTALL_ROOT=$PKG/usr make install
|
||||
)
|
||||
cd -
|
||||
|
||||
( 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
|
||||
)
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "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 {} \;
|
||||
for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a $DOCUMENTATION $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="transmission"
|
||||
VERSION="2.03"
|
||||
VERSION="2.22"
|
||||
HOMEPAGE="http://www.transmissionbt.com/"
|
||||
DOWNLOAD="http://download.m0k.org/transmission/files/transmission-2.03.tar.bz2"
|
||||
MD5SUM="7296c85673ed767a35de3883cb27b545"
|
||||
DOWNLOAD="http://download.transmissionbt.com/files/transmission-2.22.tar.bz2"
|
||||
MD5SUM="6499986bf769276310b00bda1090090d"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Niels Horn"
|
||||
|
|
Loading…
Reference in a new issue