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