wok-stable view transmission/receipt @ rev 11853
python-pyxml: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 27 11:08:44 2012 +0100 (2012-02-27) |
parents | 3037a95e97b5 |
children | 1680166a543f |
line source
1 # SliTaz package receipt.
3 PACKAGE="transmission"
4 VERSION="2.31"
5 CATEGORY="network"
6 SHORT_DESC="Light and easy to use BitTorrent client."
7 MAINTAINER="pankso@slitaz.org"
8 SUGGESTED="transmission-web transmission-cli transmission-daemon"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.transmissionbt.com/"
11 WGET_URL="http://download.m0k.org/transmission/files/$TARBALL"
12 TAGS="torrent"
14 DEPENDS="gtk+ libssl libcurl libgio dbus dbus-glib \
15 xorg-libXdamage libnotify libevent"
16 BUILD_DEPENDS="gtk+-dev openssl-dev curl-dev curl intltool \
17 expat-dev gettext libevent libevent-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --disable-libnotify \
26 --disable-libcanberra \
27 --disable-gconf2 \
28 $CONFIGURE_ARGS && \
29 make && \
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin $fs/usr/share/applications
37 cp -a $stuff/transmission.desktop $fs/usr/share/applications
38 cp -a $_pkg/usr/bin/${PACKAGE}-gtk $fs/usr/bin/${PACKAGE}
39 }
41 # Remove old packages name
42 post_install()
43 {
44 rm -f $1/usr/bin/transmission-gtk
45 rm -f $1/usr/share/applications/${PACKAGE}-gtk.desktop
46 }