wok-6.x annotate transmission/receipt @ rev 14661

Add uml-utilities
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 06 12:54:08 2013 +0200 (2013-06-06)
parents 6d3a571e1e1e
children 7896f0694ef6
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"
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"
gokhlayeh@12070 15 BUILD_DEPENDS="gtk+-dev openssl-dev curl-dev libevent-dev tar intltool"
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 }