wok-6.x view transmission/receipt @ rev 17023
Up dropbear (2014.65)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 14 09:57:53 2014 +0200 (2014-08-14) |
parents | c0e3b43a5260 |
children | ddfd839f2135 |
line source
1 # SliTaz package receipt.
3 PACKAGE="transmission"
4 VERSION="2.82"
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="https://transmission.cachefly.net/$TARBALL"
13 TAGS="torrent"
15 DEPENDS="gtk+3 libssl libcurl libgio dbus dbus-glib \
16 xorg-libXdamage libnotify libevent"
17 BUILD_DEPENDS="gtk+3-dev openssl-dev curl-dev curl intltool \
18 expat-dev gettext dbus-dev dbus-glib-dev libevent-dev wget tar"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 touch third-party/miniupnp/VERSION
25 ./configure \
26 --prefix=/usr \
27 --enable-lightweight \
28 $CONFIGURE_ARGS && \
29 make && make install &&
30 rm -rf $install/usr/share/applications
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin $fs/usr/share/applications
37 cp -a $install/usr/bin/${PACKAGE}-gtk $fs/usr/bin/${PACKAGE}
38 }
40 # Remove old packages name
41 post_install()
42 {
43 rm -f $1/usr/bin/transmission-gtk
44 rm -f $1/usr/share/applications/${PACKAGE}-gtk.desktop
45 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
46 }
48 post_remove()
49 {
50 echo "Processing post-remove commands..."
51 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
52 }