wok-next rev 11956

Up: transmission (2.50) - Will be in core
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 01 17:07:16 2012 +0100 (2012-03-01)
parents 8eb408167604
children 2109013793e8 69aa5794f8f8
files transmission-cli/receipt transmission-daemon/receipt transmission-web/receipt transmission/receipt
line diff
     1.1 --- a/transmission-cli/receipt	Thu Mar 01 17:05:30 2012 +0100
     1.2 +++ b/transmission-cli/receipt	Thu Mar 01 17:07:16 2012 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="transmission-cli"
     1.7 -VERSION="2.31"
     1.8 +VERSION="2.50"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Transmission command line interface."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -13,5 +13,5 @@
    1.13  genpkg_rules()
    1.14  {
    1.15  	mkdir -p $fs/usr/bin
    1.16 -	cp -a $_pkg/usr/bin/transmission-cli $fs/usr/bin
    1.17 +	cp -a $install/usr/bin/transmission-cli $fs/usr/bin
    1.18  }
     2.1 --- a/transmission-daemon/receipt	Thu Mar 01 17:05:30 2012 +0100
     2.2 +++ b/transmission-daemon/receipt	Thu Mar 01 17:07:16 2012 +0100
     2.3 @@ -13,11 +13,11 @@
     2.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.5  genpkg_rules()
     2.6  {
     2.7 -	mkdir -p $fs/usr/bin
     2.8 -	mkdir -p $fs/etc/init.d
     2.9 -	mkdir -p $fs/var/transmission-daemon
    2.10 -	cp -a $_pkg/usr/bin/transmission-daemon $fs/usr/bin
    2.11 -	cp -a $_pkg/usr/bin/transmission-remote $fs/usr/bin
    2.12 +	mkdir -p $fs/usr/bin \
    2.13 +		$fs/etc/init.d \
    2.14 +		$fs/var/transmission-daemon
    2.15 +	cp -a $install/usr/bin/transmission-daemon $fs/usr/bin
    2.16 +	cp -a $install/usr/bin/transmission-remote $fs/usr/bin
    2.17  	cp $stuff/settings.json $fs/var/transmission-daemon
    2.18  	cp $stuff/transmission-daemon $fs/etc/init.d
    2.19  }
     3.1 --- a/transmission-web/receipt	Thu Mar 01 17:05:30 2012 +0100
     3.2 +++ b/transmission-web/receipt	Thu Mar 01 17:07:16 2012 +0100
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="transmission-web"
     3.7 -VERSION="2.31"
     3.8 +VERSION="2.50"
     3.9  CATEGORY="network"
    3.10  SHORT_DESC="Transmission web interface."
    3.11  MAINTAINER="pankso@slitaz.org"
    3.12 @@ -13,7 +13,7 @@
    3.13  genpkg_rules()
    3.14  {
    3.15  	mkdir -p $fs/usr/share
    3.16 -	cp -a $_pkg/usr/share/transmission $fs/usr/share
    3.17 +	cp -a $install/usr/share/transmission $fs/usr/share
    3.18  	rm $fs/usr/share/transmission/web/LICENSE
    3.19  }
    3.20  
     4.1 --- a/transmission/receipt	Thu Mar 01 17:05:30 2012 +0100
     4.2 +++ b/transmission/receipt	Thu Mar 01 17:07:16 2012 +0100
     4.3 @@ -1,20 +1,18 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="transmission"
     4.7 -VERSION="2.31"
     4.8 +VERSION="2.50"
     4.9  CATEGORY="network"
    4.10  SHORT_DESC="Light and easy to use BitTorrent client."
    4.11  MAINTAINER="pankso@slitaz.org"
    4.12  SUGGESTED="transmission-web transmission-cli transmission-daemon"
    4.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    4.15  WEB_SITE="http://www.transmissionbt.com/"
    4.16 -WGET_URL="http://download.m0k.org/transmission/files/$TARBALL"
    4.17 +WGET_URL="http://download.transmissionbt.com/files/$TARBALL"
    4.18  TAGS="torrent"
    4.19  
    4.20 -DEPENDS="gtk+ libssl libcurl libgio dbus dbus-glib \
    4.21 -xorg-libXdamage libnotify libevent"
    4.22 -BUILD_DEPENDS="gtk+-dev openssl-dev curl-dev curl intltool \
    4.23 -expat-dev gettext libevent libevent-dev"
    4.24 +DEPENDS="gtk+ libssl libcurl libevent"
    4.25 +BUILD_DEPENDS="gtk+-dev openssl-dev curl-dev libevent-dev tar"
    4.26  
    4.27  # Rules to configure and make the package.
    4.28  compile_rules()
    4.29 @@ -22,20 +20,17 @@
    4.30  	cd $src
    4.31  	./configure \
    4.32  		--prefix=/usr \
    4.33 -		--disable-libnotify \
    4.34 -		--disable-libcanberra \
    4.35 -		--disable-gconf2 \
    4.36 +		--enable-lightweight \
    4.37  		$CONFIGURE_ARGS && \
    4.38 -	make && \
    4.39 -	make install
    4.40 +	make && make install &&
    4.41 +	rm -rf $install/usr/share/applications
    4.42  }
    4.43  
    4.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.45  genpkg_rules()
    4.46  {
    4.47  	mkdir -p $fs/usr/bin $fs/usr/share/applications
    4.48 -	cp -a $stuff/transmission.desktop $fs/usr/share/applications
    4.49 -	cp -a $_pkg/usr/bin/${PACKAGE}-gtk $fs/usr/bin/${PACKAGE}
    4.50 +	cp -a $install/usr/bin/${PACKAGE}-gtk $fs/usr/bin/${PACKAGE}
    4.51  }
    4.52  
    4.53  # Remove old packages name