wok-next view transmission/receipt @ rev 21345
updated drbd-utils (9.11.0 -> 9.12.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 09 13:26:29 2020 +0100 (2020-04-09) |
parents | f48456621a9d |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="transmission"
4 VERSION="2.93"
5 CATEGORY="network"
6 SHORT_DESC="A fast, easy, and free BitTorrent client"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://transmissionbt.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://github.com/transmission/transmission-releases/raw/master/$TARBALL"
13 TARBALL_SHA256="8815920e0a4499bcdadbbe89a4115092dab42ce5199f71ff9a926cfd12b9b90b"
15 BUILD_DEPENDS="curl-dev libevent-dev intltool gtk3-dev"
16 SPLIT="$PACKAGE-cli $PACKAGE-daemon $PACKAGE-web"
18 COOKOPTS="skip-log-errors !pixmaps"
20 compile_rules() {
21 ./configure \
22 --disable-static \
23 --enable-nls \
24 --enable-lightweight \
25 --enable-cli \
26 --enable-daemon \
27 --with-gtk \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 make &&
31 make install || return 1
33 install -Dm644 $stuff/settings.json $install/var/transmission-daemon/settings.json
34 install -Dm755 $stuff/transmission-daemon $install/etc/init.d/transmission-daemon
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 transmission)
40 copy transmission-gtk @ico
41 DEPENDS="gdk-pixbuf glib gtk3 libcurl libevent openssl pango zlib"
42 TAGS="torrent"
43 SUGGESTED="transmission-web transmission-cli transmission-daemon"
44 ;;
45 transmission-cli)
46 copy transmission-cli transmission-create transmission-edit \
47 transmission-show
48 CAT="network|command line interface"
49 DEPENDS="libcurl libevent openssl zlib"
50 ;;
51 transmission-daemon)
52 copy transmission-daemon transmission-remote settings.json
53 CAT="network|daemon and remote tool"
54 SUGGESTED="transmission-web transmission-cli"
55 DEPENDS="libcurl libevent openssl zlib"
56 ;;
57 transmission-web)
58 copy share/transmission/
59 CAT="network|web interface"
60 SUGGESTED="transmission-daemon"
61 ;;
62 esac
63 }
65 post_install_transmission_web() {
66 # Info message
67 echo "
68 You must activate the web interface throught Transmission and then
69 connect to: http://localhost:9091"
70 echo ""
71 }