wok-next annotate transmission/receipt @ rev 16341
Add slitaz-arm-rpi (only for ARM arch, hope i486 cooker will handle it)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 14:59:28 2014 +0200 (2014-04-12) |
parents | 195eea5c68cc |
children | ca42e48be81e |
rev | line source |
---|---|
pankso@41 | 1 # SliTaz package receipt. |
pankso@41 | 2 |
pankso@41 | 3 PACKAGE="transmission" |
slaxemulator@15814 | 4 VERSION="2.82" |
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" |
slaxemulator@15816 | 17 BUILD_DEPENDS="gtk+3-dev openssl-dev curl-dev curl intltool \ |
mojo@15833 | 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 && |
pankso@11956 | 30 rm -rf $install/usr/share/applications |
pankso@41 | 31 } |
pankso@41 | 32 |
pankso@41 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@41 | 34 genpkg_rules() |
pankso@41 | 35 { |
pascal@11623 | 36 mkdir -p $fs/usr/bin $fs/usr/share/applications |
slaxemulator@15834 | 37 cp -a $install/usr/bin/${PACKAGE}-gtk $fs/usr/bin/${PACKAGE} |
pankso@551 | 38 } |
pankso@551 | 39 |
pankso@551 | 40 # Remove old packages name |
pankso@551 | 41 post_install() |
pankso@551 | 42 { |
pascal@1137 | 43 rm -f $1/usr/bin/transmission-gtk |
slaxemulator@6617 | 44 rm -f $1/usr/share/applications/${PACKAGE}-gtk.desktop |
pankso@41 | 45 } |