wok-current view transmission/receipt @ rev 13300

Add fuse-exfat
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 28 18:17:41 2012 +0200 (2012-08-28)
parents 1680166a543f
children 8bc960941e34
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 intltool"
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 }