wok annotate transmission/receipt @ rev 23408
updated perl-tk (804.029 -> 804.034)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 01 06:56:31 2020 +0100 (2020-04-01) |
parents | 261355c410d6 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pankso@41 | 1 # SliTaz package receipt. |
pankso@41 | 2 |
pankso@41 | 3 PACKAGE="transmission" |
Hans-G?nter@22047 | 4 VERSION="2.94" |
pankso@203 | 5 CATEGORY="network" |
Hans-G?nter@22047 | 6 TAGS="torrent" |
pankso@41 | 7 SHORT_DESC="Light and easy to use BitTorrent client." |
pankso@41 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 9 LICENSE="GPL2" |
pascal@22829 | 10 WEB_SITE="https://web.archive.org/web/20200122162854/https://transmissionbt.com/" |
Hans-G?nter@22047 | 11 |
pankso@11956 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@22048 | 13 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION.tar.gz" |
pankso@41 | 14 |
Hans-G?nter@22047 | 15 SUGGESTED="transmission-cli transmission-daemon transmission-web" |
Hans-G?nter@22047 | 16 DEPENDS="dbus dbus-glib gtk+3 libcurl libevent libgio \ |
Hans-G?nter@22047 | 17 libnotify libssl xorg-libXdamage" |
pascal@22830 | 18 BUILD_DEPENDS="libtool curl curl-dev dbus-dev dbus-glib-dev expat-dev |
Hans-G?nter@22047 | 19 gettext gtk+3-dev intltool libevent-dev openssl-dev tar" |
slaxemulator@10109 | 20 |
pankso@41 | 21 # Rules to configure and make the package. |
pankso@41 | 22 compile_rules() |
pankso@41 | 23 { |
pascal@15836 | 24 touch third-party/miniupnp/VERSION |
devl547@17661 | 25 CFLAGS="$CFLAGS -fdata-sections -ffunction-sections \ |
devl547@17661 | 26 -Wl,--gc-sections" |
Hans-G?nter@22047 | 27 |
Hans-G?nter@22047 | 28 ./autogen.sh && |
Hans-G?nter@22047 | 29 ./configure \ |
Hans-G?nter@22047 | 30 --prefix=/usr \ |
Hans-G?nter@22047 | 31 --enable-cli \ |
Hans-G?nter@22047 | 32 --enable-lightweight \ |
pascal@18942 | 33 $CONFIGURE_ARGS && |
Hans-G?nter@22047 | 34 make && |
Hans-G?nter@22047 | 35 make install && |
Hans-G?nter@22047 | 36 |
psychomaniak@17109 | 37 rm -rf $install/usr/share/applications $src/macosx |
Hans-G?nter@22047 | 38 |
psychomaniak@17109 | 39 #For gcc v4.7+ |
psychomaniak@17109 | 40 #cd $src/qt && qmake qtr.pro |
psychomaniak@17109 | 41 #make && make INSTALL_ROOT=$install install |
pankso@41 | 42 } |
pankso@41 | 43 |
pankso@41 | 44 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@41 | 45 genpkg_rules() |
pankso@41 | 46 { |
Hans-G?nter@22047 | 47 mkdir -p $fs/usr/bin |
Hans-G?nter@22047 | 48 mkdir -p $fs/usr/share/applications |
slaxemulator@15834 | 49 cp -a $install/usr/bin/${PACKAGE}-gtk $fs/usr/bin/${PACKAGE} |
pankso@551 | 50 } |
pankso@551 | 51 |
pankso@551 | 52 # Remove old packages name |
pankso@551 | 53 post_install() |
pankso@551 | 54 { |
pascal@18730 | 55 rm -f "$1/usr/bin/transmission-gtk" |
pascal@18730 | 56 rm -f "$1/usr/share/applications/${PACKAGE}-gtk.desktop" |
pankso@41 | 57 } |