wok view transmission/receipt @ rev 15176

php: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 16 19:08:32 2013 +0000 (2013-08-16)
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 }