wok-6.x annotate transmission/receipt @ rev 17645
Up: transmission 2.84
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Feb 14 21:41:45 2015 +0000 (2015-02-14) |
parents | dcfde3ae6114 |
children | 171e47918ca4 |
rev | line source |
---|---|
pankso@41 | 1 # SliTaz package receipt. |
pankso@41 | 2 |
pankso@41 | 3 PACKAGE="transmission" |
devl547@17645 | 4 VERSION="2.84" |
pankso@203 | 5 CATEGORY="network" |
pankso@41 | 6 SHORT_DESC="Light and easy to use BitTorrent client." |
pankso@41 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
erjo@4784 | 9 SUGGESTED="transmission-web transmission-cli transmission-daemon" |
pankso@11956 | 10 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@1739 | 11 WEB_SITE="http://www.transmissionbt.com/" |
slaxemulator@15832 | 12 WGET_URL="https://transmission.cachefly.net/$TARBALL" |
jozee@4973 | 13 TAGS="torrent" |
pankso@41 | 14 |
slaxemulator@15816 | 15 DEPENDS="gtk+3 libssl libcurl libgio dbus dbus-glib \ |
slaxemulator@15816 | 16 xorg-libXdamage libnotify libevent" |
psychomaniak@17107 | 17 BUILD_DEPENDS="gtk+3-dev openssl-dev curl-dev curl intltool \ |
psychomaniak@17109 | 18 expat-dev gettext dbus-dev dbus-glib-dev libevent-dev wget tar" |
slaxemulator@10109 | 19 |
pankso@41 | 20 # Rules to configure and make the package. |
pankso@41 | 21 compile_rules() |
pankso@41 | 22 { |
pankso@41 | 23 cd $src |
pascal@15836 | 24 touch third-party/miniupnp/VERSION |
pankso@551 | 25 ./configure \ |
pankso@551 | 26 --prefix=/usr \ |
pankso@11956 | 27 --enable-lightweight \ |
erjo@2988 | 28 $CONFIGURE_ARGS && \ |
pankso@11956 | 29 make && make install && |
psychomaniak@17109 | 30 rm -rf $install/usr/share/applications $src/macosx |
psychomaniak@17109 | 31 #For gcc v4.7+ |
psychomaniak@17109 | 32 #cd $src/qt && qmake qtr.pro |
psychomaniak@17109 | 33 #make && make INSTALL_ROOT=$install install |
pankso@41 | 34 } |
pankso@41 | 35 |
pankso@41 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@41 | 37 genpkg_rules() |
pankso@41 | 38 { |
pascal@11623 | 39 mkdir -p $fs/usr/bin $fs/usr/share/applications |
slaxemulator@15834 | 40 cp -a $install/usr/bin/${PACKAGE}-gtk $fs/usr/bin/${PACKAGE} |
pankso@551 | 41 } |
pankso@551 | 42 |
pankso@551 | 43 # Remove old packages name |
pankso@551 | 44 post_install() |
pankso@551 | 45 { |
pascal@1137 | 46 rm -f $1/usr/bin/transmission-gtk |
slaxemulator@6617 | 47 rm -f $1/usr/share/applications/${PACKAGE}-gtk.desktop |
mojo@16979 | 48 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas |
pankso@41 | 49 } |
mojo@16979 | 50 |
mojo@16979 | 51 post_remove() |
mojo@16979 | 52 { |
mojo@16979 | 53 echo "Processing post-remove commands..." |
mojo@16979 | 54 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas |
mojo@16979 | 55 } |