wok view transmission/receipt @ rev 22354

podofo: added dependency libcrypto
author Hans-G?nter Theisgen
date Wed Nov 20 16:59:38 2019 +0100 (2019-11-20)
parents 0f98b706f283
children 261355c410d6
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://www.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="autoconf curl curl-dev dbus-dev dbus-glib-dev expat-dev
19 gettext gtk+3-dev intltool libevent-dev openssl-dev tar"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 touch third-party/miniupnp/VERSION
25 CFLAGS="$CFLAGS -fdata-sections -ffunction-sections \
26 -Wl,--gc-sections"
28 ./autogen.sh &&
29 ./configure \
30 --prefix=/usr \
31 --enable-cli \
32 --enable-lightweight \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install &&
37 rm -rf $install/usr/share/applications $src/macosx
39 #For gcc v4.7+
40 #cd $src/qt && qmake qtr.pro
41 #make && make INSTALL_ROOT=$install install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/bin
48 mkdir -p $fs/usr/share/applications
49 cp -a $install/usr/bin/${PACKAGE}-gtk $fs/usr/bin/${PACKAGE}
50 }
52 # Remove old packages name
53 post_install()
54 {
55 rm -f "$1/usr/bin/transmission-gtk"
56 rm -f "$1/usr/share/applications/${PACKAGE}-gtk.desktop"
57 }