wok-6.x view transmission/receipt @ rev 15494
Up: firefox-langpack-id (17.0.10esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 17 16:29:57 2013 +0100 (2013-11-17) |
parents | 8bc960941e34 |
children | 2ed45010bcc3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="transmission"
4 VERSION="2.52"
5 CATEGORY="network"
6 SHORT_DESC="Light and easy to use BitTorrent client."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SUGGESTED="transmission-web transmission-cli transmission-daemon"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WEB_SITE="http://www.transmissionbt.com/"
12 WGET_URL="http://download.transmissionbt.com/files/$TARBALL"
13 TAGS="torrent"
15 DEPENDS="gtk+ libssl libcurl libevent"
16 BUILD_DEPENDS="gtk+-dev openssl-dev curl-dev libevent-dev tar intltool"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --enable-lightweight \
25 $CONFIGURE_ARGS && \
26 make && make install &&
27 rm -rf $install/usr/share/applications
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin $fs/usr/share/applications
34 cp -a $install/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 }