wok-4.x annotate transmission/receipt @ rev 10109

Up: transmission to 2.31.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 15:28:49 2011 +0000 (2011-05-20)
parents 6ebc51f1e1da
children af9a1b47948c
rev   line source
pankso@41 1 # SliTaz package receipt.
pankso@41 2
pankso@41 3 PACKAGE="transmission"
slaxemulator@10109 4 VERSION="2.31"
pankso@203 5 CATEGORY="network"
pankso@41 6 SHORT_DESC="Light and easy to use BitTorrent client."
pankso@41 7 MAINTAINER="pankso@slitaz.org"
erjo@4784 8 SUGGESTED="transmission-web transmission-cli transmission-daemon"
erjo@539 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@1739 10 WEB_SITE="http://www.transmissionbt.com/"
pankso@41 11 WGET_URL="http://download.m0k.org/transmission/files/$TARBALL"
jozee@4973 12 TAGS="torrent"
pankso@41 13
slaxemulator@10109 14 DEPENDS="gtk+ libssl libcurl libgio dbus dbus-glib \
slaxemulator@10109 15 xorg-libXdamage libnotify libevent"
slaxemulator@10109 16 BUILD_DEPENDS="gtk+-dev openssl-dev curl-dev curl intltool \
slaxemulator@10109 17 expat-dev gettext libevent libevent-dev"
slaxemulator@10109 18
pankso@41 19 # Rules to configure and make the package.
pankso@41 20 compile_rules()
pankso@41 21 {
pankso@41 22 cd $src
pankso@551 23 ./configure \
pankso@551 24 --prefix=/usr \
pankso@4520 25 --disable-libnotify \
slaxemulator@6511 26 --disable-libcanberra \
slaxemulator@6511 27 --disable-gconf2 \
erjo@2988 28 $CONFIGURE_ARGS && \
erjo@2988 29 make && \
slaxemulator@10109 30 make install
pankso@41 31 }
pankso@41 32
pankso@41 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@41 34 genpkg_rules()
pankso@41 35 {
pankso@1839 36 mkdir -p $fs/usr/bin
slaxemulator@6617 37 cp -a $_pkg/usr/bin/${PACKAGE}-gtk $fs/usr/bin/${PACKAGE}
pankso@551 38 }
pankso@551 39
pankso@551 40 # Remove old packages name
pankso@551 41 post_install()
pankso@551 42 {
pascal@1137 43 rm -f $1/usr/bin/transmission-gtk
slaxemulator@6617 44 rm -f $1/usr/share/applications/${PACKAGE}-gtk.desktop
pankso@41 45 }