wok view transmission/receipt @ rev 19661
Up openssl (1.0.2k)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 28 13:51:03 2017 +0200 (2017-01-28) |
parents | f4e51cd55e7c |
children | 0f98b706f283 |
line source
1 # SliTaz package receipt.
3 PACKAGE="transmission"
4 VERSION="2.92"
5 CATEGORY="network"
6 SHORT_DESC="Light and easy to use BitTorrent client."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SUGGESTED="transmission-web transmission-cli transmission-daemon"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WEB_SITE="http://www.transmissionbt.com/"
12 WGET_URL="https://transmission.cachefly.net/$TARBALL"
13 TAGS="torrent"
15 DEPENDS="gtk+3 libssl libcurl libgio dbus dbus-glib \
16 xorg-libXdamage libnotify libevent"
17 BUILD_DEPENDS="gtk+3-dev openssl-dev curl-dev curl intltool \
18 expat-dev gettext dbus-dev dbus-glib-dev libevent-dev wget tar"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 touch third-party/miniupnp/VERSION
24 CFLAGS="$CFLAGS -fdata-sections -ffunction-sections \
25 -Wl,--gc-sections"
26 ./configure \
27 --prefix=/usr \
28 --enable-cli \
29 --enable-lightweight \
30 $CONFIGURE_ARGS &&
31 make && make install &&
32 rm -rf $install/usr/share/applications $src/macosx
33 #For gcc v4.7+
34 #cd $src/qt && qmake qtr.pro
35 #make && make INSTALL_ROOT=$install install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/bin $fs/usr/share/applications
42 cp -a $install/usr/bin/${PACKAGE}-gtk $fs/usr/bin/${PACKAGE}
43 }
45 # Remove old packages name
46 post_install()
47 {
48 rm -f "$1/usr/bin/transmission-gtk"
49 rm -f "$1/usr/share/applications/${PACKAGE}-gtk.desktop"
50 }