wok-next diff perl-xml-sax/receipt @ rev 20334
Remove linux-uml & lxpanel-plugin-multiload
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 16 16:28:30 2017 +0100 (2017-11-16) |
parents | 1a86cb99cbbf |
children | 93930f418ffb |
line diff
1.1 --- a/perl-xml-sax/receipt Thu May 11 02:23:02 2017 +0300 1.2 +++ b/perl-xml-sax/receipt Thu Nov 16 16:28:30 2017 +0100 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="perl-xml-sax" 1.8 VERSION="0.99" 1.9 @@ -11,21 +11,20 @@ 1.10 TARBALL="XML-SAX-$VERSION.tar.gz" 1.11 WGET_URL="https://cpan.metacpan.org/authors/id/G/GR/GRANTM/$TARBALL" 1.12 1.13 -DEPENDS="perl-xml-namespacesupport perl-xml-sax-base" 1.14 -BUILD_DEPENDS="$DEPENDS" 1.15 +BUILD_DEPENDS="perl-xml-namespacesupport perl-xml-sax-base" 1.16 1.17 -# Rules to configure and make the package. 1.18 -compile_rules() 1.19 -{ 1.20 +compile_rules() { 1.21 # Please keep `make -j1 install` to FS before installing to the DESTDIR 1.22 perl Makefile.PL && 1.23 - make -j1 install && make -j1 DESTDIR=$install install && 1.24 + make -j1 install && 1.25 + make -j1 DESTDIR=$install install || return 1 1.26 1.27 chmod -R u+w $install 1.28 + cp -v /usr/lib/perl5/site_perl/5.24.1/XML/SAX/ParserDetails.ini \ 1.29 + $install/usr/lib/perl5/site_perl/5.24.1/XML/SAX/ 1.30 } 1.31 1.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 -genpkg_rules() 1.34 -{ 1.35 +genpkg_rules() { 1.36 copy @std 1.37 + DEPENDS="$BUILD_DEPENDS" 1.38 }