wok-6.x view transmission/receipt @ rev 12044
john: added dumb??.conf and generic.conf to support default operation
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Wed Mar 07 10:16:22 2012 -0800 (2012-03-07) |
parents | af9a1b47948c |
children | 6d3a571e1e1e |
line source
1 # SliTaz package receipt.
3 PACKAGE="transmission"
4 VERSION="2.50"
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.xz"
10 WEB_SITE="http://www.transmissionbt.com/"
11 WGET_URL="http://download.transmissionbt.com/files/$TARBALL"
12 TAGS="torrent"
14 DEPENDS="gtk+ libssl libcurl libevent"
15 BUILD_DEPENDS="gtk+-dev openssl-dev curl-dev libevent-dev tar"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --enable-lightweight \
24 $CONFIGURE_ARGS && \
25 make && make install &&
26 rm -rf $install/usr/share/applications
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin $fs/usr/share/applications
33 cp -a $install/usr/bin/${PACKAGE}-gtk $fs/usr/bin/${PACKAGE}
34 }
36 # Remove old packages name
37 post_install()
38 {
39 rm -f $1/usr/bin/transmission-gtk
40 rm -f $1/usr/share/applications/${PACKAGE}-gtk.desktop
41 }