# HG changeset patch # User Aleksej Bobylev # Date 1528926925 -10800 # Node ID 0949716a6840c4513c8d354fe48eeb511d93153d # Parent 95baf8487fc911f276552d2bcc0b89319efe2e12 deluge: up (1.3.15) diff -r 95baf8487fc9 -r 0949716a6840 deluge/receipt --- a/deluge/receipt Thu Jun 14 00:42:47 2018 +0300 +++ b/deluge/receipt Thu Jun 14 00:55:25 2018 +0300 @@ -1,32 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="deluge" -VERSION="1.3.6" +VERSION="1.3.15" CATEGORY="network" -SHORT_DESC="A bittorrent client written with python and pygtk" +SHORT_DESC="A bittorrent client written with Python and PyGTK" MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL3" -TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://deluge-torrent.org/" + +TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="http://download.deluge-torrent.org/source/$TARBALL" -DEPENDS="libtorrent-rasterbar pyopenssl python-chardet python-xdg setuptools twisted xdg-utils pygtk" -BUILD_DEPENDS="python-dev librsvg-dev intltool" +BUILD_DEPENDS="python intltool" -# Rules to configure and make the package. -compile_rules() -{ - LC_ALL=C python setup.py build - LC_ALL=C python setup.py install --prefix=/usr --root=$DESTDIR --optimize=1 +compile_rules() { + python setup.py build && + python setup.py install --prefix=/usr --root=$DESTDIR --optimize=1 } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share - cp -a $install/usr/lib $fs/usr - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/share/applications $fs/usr/share - cp -a $install/usr/share/pixmaps $fs/usr/share - sed -i 's|deluge.svg|deluge.png|g' $fs/usr/lib/python2.7/site-packages/deluge/ui/gtkui/common.py +genpkg_rules() { + copy @std + DEPENDS="libtorrent-rasterbar pyopenssl python-chardet python-xdg \ + twisted xdg-utils pygtk" } diff -r 95baf8487fc9 -r 0949716a6840 perl-list-moreutils-xs/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-list-moreutils-xs/receipt Thu Jun 14 00:55:25 2018 +0300 @@ -0,0 +1,26 @@ +# SliTaz package receipt v2. + +PACKAGE="perl-list-moreutils-xs" +VERSION="0.428" +CATEGORY="perl" +SHORT_DESC="List::MoreUtils::XS - Provide compiled List::MoreUtils functions" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL" +WEB_SITE="https://metacpan.org/release/List-MoreUtils-XS" + +TARBALL="List-MoreUtils-XS-$VERSION.tar.gz" +WGET_URL="https://cpan.metacpan.org/authors/id/R/RE/REHSACK/$TARBALL" + +BUILD_DEPENDS="perl-dev" + +compile_rules() { + perl Makefile.PL && + make && make DESTDIR=$install install && + + chmod -R u+w $install +} + +genpkg_rules() { + copy @std + DEPENDS="perl" +} diff -r 95baf8487fc9 -r 0949716a6840 perl-list-moreutils/receipt --- a/perl-list-moreutils/receipt Thu Jun 14 00:42:47 2018 +0300 +++ b/perl-list-moreutils/receipt Thu Jun 14 00:55:25 2018 +0300 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="perl-list-moreutils" VERSION="0.428" @@ -11,20 +11,16 @@ TARBALL="List-MoreUtils-$VERSION.tar.gz" WGET_URL="https://cpan.metacpan.org/authors/id/R/RE/REHSACK/$TARBALL" -DEPENDS="perl-exporter-tiny" -BUILD_DEPENDS="$DEPENDS" +BUILD_DEPENDS="perl-dev perl-exporter-tiny perl-list-moreutils-xs" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { perl Makefile.PL && make && make DESTDIR=$install install && chmod -R u+w $install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { copy @std + DEPENDS="perl-exporter-tiny perl-list-moreutils-xs" }