wok-next annotate transmission/receipt @ rev 8692

Switch back to mercurial, home sweet home :)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Feb 17 19:06:05 2011 +0100 (2011-02-17)
parents bc93b0bc4d59
children 6ebc51f1e1da
rev   line source
pankso@41 1 # SliTaz package receipt.
pankso@41 2
pankso@41 3 PACKAGE="transmission"
slaxemulator@8494 4 VERSION="2.21"
pankso@203 5 CATEGORY="network"
pankso@41 6 SHORT_DESC="Light and easy to use BitTorrent client."
pankso@41 7 MAINTAINER="pankso@slitaz.org"
slaxemulator@6209 8 DEPENDS="gtk+ libssl libcurl libgio dbus dbus-glib xorg-libXdamage libnotify libevent"
slaxemulator@6209 9 BUILD_DEPENDS="gtk+-dev openssl-dev curl-dev curl intltool expat-dev gettext libevent libevent-dev"
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 \
slaxemulator@6511 23 --disable-libcanberra \
slaxemulator@6511 24 --disable-gconf2 \
erjo@2988 25 $CONFIGURE_ARGS && \
erjo@2988 26 make && \
pankso@1839 27 make DESTDIR=$PWD/_pkg install
pankso@41 28 }
pankso@41 29
pankso@41 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@41 31 genpkg_rules()
pankso@41 32 {
pankso@1839 33 mkdir -p $fs/usr/bin
slaxemulator@6617 34 cp -a $_pkg/usr/bin/${PACKAGE}-gtk $fs/usr/bin/${PACKAGE}
pankso@551 35 }
pankso@551 36
pankso@551 37 # Remove old packages name
pankso@551 38 post_install()
pankso@551 39 {
pascal@1137 40 rm -f $1/usr/bin/transmission-gtk
slaxemulator@6617 41 rm -f $1/usr/share/applications/${PACKAGE}-gtk.desktop
pankso@41 42 }