wok-current annotate transmission/receipt @ rev 2525

t*: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 16 22:39:24 2009 +0000 (2009-03-16)
parents 1d043f8c9982
children ba0de3329c46
rev   line source
pankso@41 1 # SliTaz package receipt.
pankso@41 2
pankso@41 3 PACKAGE="transmission"
pankso@2357 4 VERSION="1.51"
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@2525 8 DEPENDS="gtk+ openssl libcurl libgio dbus dbus-glib xorg-libXdamage"
pankso@2357 9 BUILD_DEPENDS="gtk+-dev openssl-dev curl-dev curl"
pankso@1839 10 SUGGESTED="transmission-web"
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"
pankso@41 14
pankso@41 15 # Rules to configure and make the package.
pankso@41 16 compile_rules()
pankso@41 17 {
pankso@41 18 cd $src
pankso@551 19 ./configure \
pankso@551 20 --prefix=/usr \
pascal@2439 21 $CONFIGURE_ARGS &&
pascal@2439 22 make &&
pankso@1839 23 make DESTDIR=$PWD/_pkg install
pankso@41 24 }
pankso@41 25
pankso@41 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@41 27 genpkg_rules()
pankso@41 28 {
pankso@1839 29 mkdir -p $fs/usr/bin
pankso@1839 30 cp -a $_pkg/usr/bin/$PACKAGE $fs/usr/bin
pankso@551 31 }
pankso@551 32
pankso@551 33 # Remove old packages name
pankso@551 34 post_install()
pankso@551 35 {
pascal@1137 36 rm -f $1/usr/bin/transmission-gtk
pankso@41 37 }