wok view transmission/receipt @ rev 10253
Add daemon_controller.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 03:56:29 2011 +0000 (2011-05-21) |
parents | 6ebc51f1e1da |
children | af9a1b47948c |
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
37 cp -a $_pkg/usr/bin/${PACKAGE}-gtk $fs/usr/bin/${PACKAGE}
38 }
40 # Remove old packages name
41 post_install()
42 {
43 rm -f $1/usr/bin/transmission-gtk
44 rm -f $1/usr/share/applications/${PACKAGE}-gtk.desktop
45 }