wok-current annotate transmission/receipt @ rev 15615

sudoku-savant: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 08 08:30:57 2013 +0000 (2013-12-08)
parents 8bc960941e34
children 2ed45010bcc3
rev   line source
pankso@41 1 # SliTaz package receipt.
pankso@41 2
pankso@41 3 PACKAGE="transmission"
mojo@14522 4 VERSION="2.52"
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@15002 8 LICENSE="GPL2"
erjo@4784 9 SUGGESTED="transmission-web transmission-cli transmission-daemon"
pankso@11956 10 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@1739 11 WEB_SITE="http://www.transmissionbt.com/"
pankso@11956 12 WGET_URL="http://download.transmissionbt.com/files/$TARBALL"
jozee@4973 13 TAGS="torrent"
pankso@41 14
pankso@11956 15 DEPENDS="gtk+ libssl libcurl libevent"
gokhlayeh@12070 16 BUILD_DEPENDS="gtk+-dev openssl-dev curl-dev libevent-dev tar intltool"
slaxemulator@10109 17
pankso@41 18 # Rules to configure and make the package.
pankso@41 19 compile_rules()
pankso@41 20 {
pankso@41 21 cd $src
pankso@551 22 ./configure \
pankso@551 23 --prefix=/usr \
pankso@11956 24 --enable-lightweight \
erjo@2988 25 $CONFIGURE_ARGS && \
pankso@11956 26 make && make install &&
pankso@11956 27 rm -rf $install/usr/share/applications
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 {
pascal@11623 33 mkdir -p $fs/usr/bin $fs/usr/share/applications
pankso@11956 34 cp -a $install/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 }