wok rev 22047

updated transmission (2.92 -> 2.94)
author Hans-G?nter Theisgen
date Tue Oct 22 15:39:24 2019 +0100 (2019-10-22)
parents cbc92cce4d38
children 0ec36078faac
files transmission/receipt
line diff
     1.1 --- a/transmission/receipt	Tue Oct 22 14:29:30 2019 +0100
     1.2 +++ b/transmission/receipt	Tue Oct 22 15:39:24 2019 +0100
     1.3 @@ -1,21 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="transmission"
     1.7 -VERSION="2.92"
     1.8 +VERSION="2.94"
     1.9  CATEGORY="network"
    1.10 +TAGS="torrent"
    1.11  SHORT_DESC="Light and easy to use BitTorrent client."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -SUGGESTED="transmission-web transmission-cli transmission-daemon"
    1.15 +WEB_SITE="https://www.transmissionbt.com/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.18 -WEB_SITE="http://www.transmissionbt.com/"
    1.19 -WGET_URL="https://transmission.cachefly.net/$TARBALL"
    1.20 -TAGS="torrent"
    1.21 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz"
    1.22  
    1.23 -DEPENDS="gtk+3 libssl libcurl libgio dbus dbus-glib \
    1.24 -xorg-libXdamage libnotify libevent"
    1.25 -BUILD_DEPENDS="gtk+3-dev openssl-dev curl-dev curl intltool \
    1.26 -expat-dev gettext dbus-dev dbus-glib-dev libevent-dev wget tar"
    1.27 +SUGGESTED="transmission-cli transmission-daemon transmission-web"
    1.28 +DEPENDS="dbus dbus-glib gtk+3 libcurl libevent libgio \
    1.29 +	libnotify libssl xorg-libXdamage"
    1.30 +BUILD_DEPENDS="autoconf curl curl-dev dbus-dev dbus-glib-dev expat-dev 
    1.31 +	gettext gtk+3-dev intltool libevent-dev openssl-dev tar"
    1.32  
    1.33  # Rules to configure and make the package.
    1.34  compile_rules()
    1.35 @@ -23,13 +24,18 @@
    1.36  	touch third-party/miniupnp/VERSION
    1.37  	CFLAGS="$CFLAGS -fdata-sections -ffunction-sections \
    1.38  	-Wl,--gc-sections"
    1.39 -	./configure \
    1.40 -		--prefix=/usr \
    1.41 -		--enable-cli \
    1.42 -		--enable-lightweight \
    1.43 +
    1.44 +	./autogen.sh &&
    1.45 +	./configure			\
    1.46 +		--prefix=/usr		\
    1.47 +		--enable-cli		\
    1.48 +		--enable-lightweight	\
    1.49  		$CONFIGURE_ARGS &&
    1.50 -	make && make install &&
    1.51 +	make &&
    1.52 +	make install &&
    1.53 +
    1.54  	rm -rf $install/usr/share/applications $src/macosx
    1.55 +
    1.56  	#For gcc v4.7+
    1.57  	#cd $src/qt && qmake qtr.pro
    1.58  	#make && make INSTALL_ROOT=$install install
    1.59 @@ -38,7 +44,8 @@
    1.60  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.61  genpkg_rules()
    1.62  {
    1.63 -	mkdir -p $fs/usr/bin $fs/usr/share/applications
    1.64 +	mkdir -p $fs/usr/bin
    1.65 +	mkdir -p $fs/usr/share/applications
    1.66  	cp -a $install/usr/bin/${PACKAGE}-gtk $fs/usr/bin/${PACKAGE}
    1.67  }
    1.68