wok-next annotate transmission/receipt @ rev 5195

slitaz-doc: fix version for 3.0
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 28 17:16:33 2010 +0200 (2010-03-28)
parents 866fa2493b1b
children 4a201d4c3ad8
rev   line source
pankso@41 1 # SliTaz package receipt.
pankso@41 2
pankso@41 3 PACKAGE="transmission"
pankso@4520 4 VERSION="1.76"
pankso@203 5 CATEGORY="network"
pankso@41 6 SHORT_DESC="Light and easy to use BitTorrent client."
pankso@41 7 MAINTAINER="pankso@slitaz.org"
pascal@5007 8 DEPENDS="gtk+ libssl libcurl libgio dbus dbus-glib xorg-libXdamage libnotify"
pankso@4520 9 BUILD_DEPENDS="gtk+-dev openssl-dev curl-dev curl intltool gettext"
erjo@4784 10 SUGGESTED="transmission-web transmission-cli transmission-daemon"
erjo@539 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@1739 12 WEB_SITE="http://www.transmissionbt.com/"
pankso@41 13 WGET_URL="http://download.m0k.org/transmission/files/$TARBALL"
jozee@4973 14 TAGS="torrent"
pankso@41 15
pankso@41 16 # Rules to configure and make the package.
pankso@41 17 compile_rules()
pankso@41 18 {
pankso@41 19 cd $src
pankso@551 20 ./configure \
pankso@551 21 --prefix=/usr \
pankso@4520 22 --disable-libnotify \
erjo@2988 23 $CONFIGURE_ARGS && \
erjo@2988 24 make && \
pankso@1839 25 make DESTDIR=$PWD/_pkg install
pankso@41 26 }
pankso@41 27
pankso@41 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@41 29 genpkg_rules()
pankso@41 30 {
pankso@1839 31 mkdir -p $fs/usr/bin
pankso@1839 32 cp -a $_pkg/usr/bin/$PACKAGE $fs/usr/bin
pankso@4334 33
erjo@3300 34 # Build other transmission packages
erjo@3300 35 for i in $(cd $WOK; ls -d $PACKAGE-*)
erjo@3300 36 do
erjo@3300 37 tazwok genpkg $i
erjo@3300 38 done
pankso@551 39 }
pankso@551 40
pankso@551 41 # Remove old packages name
pankso@551 42 post_install()
pankso@551 43 {
pascal@1137 44 rm -f $1/usr/bin/transmission-gtk
pankso@41 45 }