wok view transmission/receipt @ rev 24582

updated fuse-emulator (1.5.7 -> 1.6.0)
author Hans-G?nter Theisgen
date Sun Feb 27 17:14:21 2022 +0100 (2022-02-27)
parents 4b64f58fe9fa
children d75c910db906
line source
1 # SliTaz package receipt.
3 PACKAGE="transmission"
4 VERSION="2.94"
5 CATEGORY="network"
6 TAGS="torrent"
7 SHORT_DESC="Light and easy to use BitTorrent client."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://web.archive.org/web/20200122162854/https://transmissionbt.com/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION.tar.gz"
15 SUGGESTED="transmission-cli transmission-daemon transmission-web"
16 DEPENDS="dbus dbus-glib gtk+3 libcurl libevent libgio \
17 libnotify libssl xorg-libXdamage"
18 BUILD_DEPENDS="libtool curl curl-dev dbus-dev dbus-glib-dev expat-dev
19 gettext gtk+3-dev intltool libevent-dev openssl-dev tar"
21 current_version()
22 {
23 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 touch third-party/miniupnp/VERSION
31 CFLAGS="$CFLAGS -fdata-sections -ffunction-sections \
32 -Wl,--gc-sections"
34 ./autogen.sh &&
35 ./configure \
36 --prefix=/usr \
37 --enable-cli \
38 --enable-lightweight \
39 $CONFIGURE_ARGS &&
40 make &&
41 make install &&
43 rm -rf $install/usr/share/applications $src/macosx
45 #For gcc v4.7+
46 #cd $src/qt && qmake qtr.pro
47 #make && make INSTALL_ROOT=$install install
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 mkdir -p $fs/usr/bin
54 mkdir -p $fs/usr/share/applications
55 cp -a $install/usr/bin/${PACKAGE}-gtk $fs/usr/bin/${PACKAGE}
56 }
58 # Remove old packages name
59 post_install()
60 {
61 rm -f "$1/usr/bin/transmission-gtk"
62 rm -f "$1/usr/share/applications/${PACKAGE}-gtk.desktop"
63 }