wok-next annotate transmission/receipt @ rev 13441

Add: claws-mail-acpinotifier
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Oct 07 01:23:20 2012 +0200 (2012-10-07)
parents 1680166a543f
children 8bc960941e34
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"
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 }