wok-next rev 20824

deluge: up (1.3.15)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 14 00:55:25 2018 +0300 (2018-06-14)
parents 95baf8487fc9
children 4098d40417ee
files deluge/receipt perl-list-moreutils-xs/receipt perl-list-moreutils/receipt
line diff
     1.1 --- a/deluge/receipt	Thu Jun 14 00:42:47 2018 +0300
     1.2 +++ b/deluge/receipt	Thu Jun 14 00:55:25 2018 +0300
     1.3 @@ -1,32 +1,25 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="deluge"
     1.8 -VERSION="1.3.6"
     1.9 +VERSION="1.3.15"
    1.10  CATEGORY="network"
    1.11 -SHORT_DESC="A bittorrent client written with python and pygtk"
    1.12 +SHORT_DESC="A bittorrent client written with Python and PyGTK"
    1.13  MAINTAINER="slaxemulator@gmail.com"
    1.14  LICENSE="GPL3"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16  WEB_SITE="http://deluge-torrent.org/"
    1.17 +
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.19  WGET_URL="http://download.deluge-torrent.org/source/$TARBALL"
    1.20  
    1.21 -DEPENDS="libtorrent-rasterbar pyopenssl python-chardet python-xdg setuptools twisted xdg-utils pygtk"
    1.22 -BUILD_DEPENDS="python-dev librsvg-dev intltool"
    1.23 +BUILD_DEPENDS="python intltool"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -	LC_ALL=C python setup.py build
    1.29 -	LC_ALL=C python setup.py install --prefix=/usr --root=$DESTDIR --optimize=1
    1.30 +compile_rules() {
    1.31 +	python setup.py build &&
    1.32 +	python setup.py install --prefix=/usr --root=$DESTDIR --optimize=1
    1.33  }
    1.34  
    1.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 -genpkg_rules()
    1.37 -{
    1.38 -	mkdir -p $fs/usr/share
    1.39 -	cp -a $install/usr/lib $fs/usr
    1.40 -	cp -a $install/usr/bin $fs/usr
    1.41 -	cp -a $install/usr/share/applications $fs/usr/share
    1.42 -	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.43 -	sed -i 's|deluge.svg|deluge.png|g' $fs/usr/lib/python2.7/site-packages/deluge/ui/gtkui/common.py
    1.44 +genpkg_rules() {
    1.45 +	copy @std
    1.46 +	DEPENDS="libtorrent-rasterbar pyopenssl python-chardet python-xdg \
    1.47 +	twisted xdg-utils pygtk"
    1.48  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/perl-list-moreutils-xs/receipt	Thu Jun 14 00:55:25 2018 +0300
     2.3 @@ -0,0 +1,26 @@
     2.4 +# SliTaz package receipt v2.
     2.5 +
     2.6 +PACKAGE="perl-list-moreutils-xs"
     2.7 +VERSION="0.428"
     2.8 +CATEGORY="perl"
     2.9 +SHORT_DESC="List::MoreUtils::XS - Provide compiled List::MoreUtils functions"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +LICENSE="GPL"
    2.12 +WEB_SITE="https://metacpan.org/release/List-MoreUtils-XS"
    2.13 +
    2.14 +TARBALL="List-MoreUtils-XS-$VERSION.tar.gz"
    2.15 +WGET_URL="https://cpan.metacpan.org/authors/id/R/RE/REHSACK/$TARBALL"
    2.16 +
    2.17 +BUILD_DEPENDS="perl-dev"
    2.18 +
    2.19 +compile_rules() {
    2.20 +	perl Makefile.PL &&
    2.21 +	make && make DESTDIR=$install install &&
    2.22 +
    2.23 +	chmod -R u+w $install
    2.24 +}
    2.25 +
    2.26 +genpkg_rules() {
    2.27 +	copy @std
    2.28 +	DEPENDS="perl"
    2.29 +}
     3.1 --- a/perl-list-moreutils/receipt	Thu Jun 14 00:42:47 2018 +0300
     3.2 +++ b/perl-list-moreutils/receipt	Thu Jun 14 00:55:25 2018 +0300
     3.3 @@ -1,4 +1,4 @@
     3.4 -# SliTaz package receipt.
     3.5 +# SliTaz package receipt v2.
     3.6  
     3.7  PACKAGE="perl-list-moreutils"
     3.8  VERSION="0.428"
     3.9 @@ -11,20 +11,16 @@
    3.10  TARBALL="List-MoreUtils-$VERSION.tar.gz"
    3.11  WGET_URL="https://cpan.metacpan.org/authors/id/R/RE/REHSACK/$TARBALL"
    3.12  
    3.13 -DEPENDS="perl-exporter-tiny"
    3.14 -BUILD_DEPENDS="$DEPENDS"
    3.15 +BUILD_DEPENDS="perl-dev perl-exporter-tiny perl-list-moreutils-xs"
    3.16  
    3.17 -# Rules to configure and make the package.
    3.18 -compile_rules()
    3.19 -{
    3.20 +compile_rules() {
    3.21  	perl Makefile.PL &&
    3.22  	make && make DESTDIR=$install install &&
    3.23  
    3.24  	chmod -R u+w $install
    3.25  }
    3.26  
    3.27 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.28 -genpkg_rules()
    3.29 -{
    3.30 +genpkg_rules() {
    3.31  	copy @std
    3.32 +	DEPENDS="perl-exporter-tiny perl-list-moreutils-xs"
    3.33  }