wok-6.x view transmission/receipt @ rev 14661

Add uml-utilities
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 06 12:54:08 2013 +0200 (2013-06-06)
parents 6d3a571e1e1e
children 7896f0694ef6
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 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 }