wok-next annotate transmission/receipt @ rev 19054

Up transmission (2.92)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue Apr 19 03:16:52 2016 +0300 (2016-04-19)
parents f4e51cd55e7c
children e70c0b9c5adf
rev   line source
pankso@41 1 # SliTaz package receipt.
pankso@41 2
pankso@41 3 PACKAGE="transmission"
psychomaniak@19054 4 VERSION="2.92"
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 {
pascal@15836 23 touch third-party/miniupnp/VERSION
devl547@17661 24 CFLAGS="$CFLAGS -fdata-sections -ffunction-sections \
devl547@17661 25 -Wl,--gc-sections"
pankso@551 26 ./configure \
pankso@551 27 --prefix=/usr \
pascal@18942 28 --enable-cli \
pankso@11956 29 --enable-lightweight \
pascal@18942 30 $CONFIGURE_ARGS &&
pankso@11956 31 make && make install &&
psychomaniak@17109 32 rm -rf $install/usr/share/applications $src/macosx
psychomaniak@17109 33 #For gcc v4.7+
psychomaniak@17109 34 #cd $src/qt && qmake qtr.pro
psychomaniak@17109 35 #make && make INSTALL_ROOT=$install install
pankso@41 36 }
pankso@41 37
pankso@41 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@41 39 genpkg_rules()
pankso@41 40 {
pascal@11623 41 mkdir -p $fs/usr/bin $fs/usr/share/applications
slaxemulator@15834 42 cp -a $install/usr/bin/${PACKAGE}-gtk $fs/usr/bin/${PACKAGE}
pankso@551 43 }
pankso@551 44
pankso@551 45 # Remove old packages name
pankso@551 46 post_install()
pankso@551 47 {
pascal@18730 48 rm -f "$1/usr/bin/transmission-gtk"
pascal@18730 49 rm -f "$1/usr/share/applications/${PACKAGE}-gtk.desktop"
pankso@41 50 }