wok-4.x view transmission/receipt @ rev 12347
gnome-vfs: repaired (from unwork state); added gnome-vfs-i18n (optional lang files)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Oct 22 01:17:33 2012 +0000 (2012-10-22) |
parents | 1680166a543f |
children |
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 }