wok-next diff perl-xml-sax-expat/receipt @ rev 21225

try to build cdrtools again
author Hans-G?nter Theisgen
date Tue Dec 03 15:45:46 2019 +0100 (2019-12-03)
parents d5aab818505e
children
line diff
     1.1 --- a/perl-xml-sax-expat/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/perl-xml-sax-expat/receipt	Tue Dec 03 15:45:46 2019 +0100
     1.3 @@ -1,30 +1,30 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7 +ORIGIN="XML-SAX-Expat"
     1.8  PACKAGE="perl-xml-sax-expat"
     1.9  VERSION="0.51"
    1.10 +AUTHOR="BJOERN"
    1.11  CATEGORY="perl"
    1.12  SHORT_DESC="XML::SAX::Expat - SAX2 Driver for Expat (XML::Parser)"
    1.13  MAINTAINER="al.bobylev@gmail.com"
    1.14  LICENSE="GPL"
    1.15 -WEB_SITE="https://metacpan.org/release/XML-SAX-Expat"
    1.16 -REPOLOGY="perl:xml-sax-expat"
    1.17 +WEB_SITE="https://metacpan.org/release/$ORIGIN"
    1.18 +HOST_ARCH="any"
    1.19 +REPOLOGY="${PACKAGE/-/:}"
    1.20  
    1.21 -TARBALL="XML-SAX-Expat-$VERSION.tar.gz"
    1.22 -WGET_URL="https://cpan.metacpan.org/authors/id/B/BJ/BJOERN/$TARBALL"
    1.23 +TARBALL="$ORIGIN-$VERSION.tar.gz"
    1.24 +WGET_URL="https://cpan.metacpan.org/authors/id/${AUTHOR:0:1}/${AUTHOR:0:2}/$AUTHOR/$TARBALL"
    1.25  
    1.26 -BUILD_DEPENDS="perl-xml-namespacesupport perl-xml-parser perl-xml-sax \
    1.27 +DEPENDS_std="perl-xml-namespacesupport perl-xml-parser perl-xml-sax \
    1.28  perl-xml-sax-base"
    1.29 +BUILD_DEPENDS="$DEPENDS_std"
    1.30  
    1.31  compile_rules() {
    1.32 -	perl Makefile.PL &&
    1.33 -	make -j1 install &&
    1.34 -	make -j1 DESTDIR=$install install &&
    1.35 +	# keep installing to / and then to $install
    1.36 +	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor &&
    1.37 +	make -j1 &&
    1.38 +	make -j1 PERL_MM_USE_DEFAULT=1 install &&
    1.39 +	make -j1 PERL_MM_USE_DEFAULT=1 DESTDIR=$install install &&
    1.40  
    1.41  	chmod -R u+w $install
    1.42  }
    1.43 -
    1.44 -genpkg_rules() {
    1.45 -	copy @std
    1.46 -	DEPENDS="perl-xml-namespacesupport perl-xml-parser perl-xml-sax \
    1.47 -	perl-xml-sax-base"
    1.48 -}