wok-current annotate transmission/receipt @ rev 11956

Up: transmission (2.50) - Will be in core
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 01 17:07:16 2012 +0100 (2012-03-01)
parents af9a1b47948c
children 6d3a571e1e1e
rev   line source
pankso@41 1 # SliTaz package receipt.
pankso@41 2
pankso@41 3 PACKAGE="transmission"
pankso@11956 4 VERSION="2.50"
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"
pankso@11956 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@1739 10 WEB_SITE="http://www.transmissionbt.com/"
pankso@11956 11 WGET_URL="http://download.transmissionbt.com/files/$TARBALL"
jozee@4973 12 TAGS="torrent"
pankso@41 13
pankso@11956 14 DEPENDS="gtk+ libssl libcurl libevent"
pankso@11956 15 BUILD_DEPENDS="gtk+-dev openssl-dev curl-dev libevent-dev tar"
slaxemulator@10109 16
pankso@41 17 # Rules to configure and make the package.
pankso@41 18 compile_rules()
pankso@41 19 {
pankso@41 20 cd $src
pankso@551 21 ./configure \
pankso@551 22 --prefix=/usr \
pankso@11956 23 --enable-lightweight \
erjo@2988 24 $CONFIGURE_ARGS && \
pankso@11956 25 make && make install &&
pankso@11956 26 rm -rf $install/usr/share/applications
pankso@41 27 }
pankso@41 28
pankso@41 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@41 30 genpkg_rules()
pankso@41 31 {
pascal@11623 32 mkdir -p $fs/usr/bin $fs/usr/share/applications
pankso@11956 33 cp -a $install/usr/bin/${PACKAGE}-gtk $fs/usr/bin/${PACKAGE}
pankso@551 34 }
pankso@551 35
pankso@551 36 # Remove old packages name
pankso@551 37 post_install()
pankso@551 38 {
pascal@1137 39 rm -f $1/usr/bin/transmission-gtk
slaxemulator@6617 40 rm -f $1/usr/share/applications/${PACKAGE}-gtk.desktop
pankso@41 41 }