wok-next diff perl-xml-sax/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 4e6503d7a19f
children
line diff
     1.1 --- a/perl-xml-sax/receipt	Thu Jul 12 18:34:58 2018 +0300
     1.2 +++ b/perl-xml-sax/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -1,18 +1,22 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6 +ORIGIN="XML-SAX"
     1.7  PACKAGE="perl-xml-sax"
     1.8  VERSION="1.00"
     1.9 +AUTHOR="GRANTM"
    1.10  CATEGORY="perl"
    1.11  SHORT_DESC="XML::SAX - Simple API for XML"
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="GPL"
    1.14 -WEB_SITE="https://metacpan.org/release/XML-SAX"
    1.15 -REPOLOGY="perl:xml-sax"
    1.16 +WEB_SITE="https://metacpan.org/release/$ORIGIN"
    1.17 +HOST_ARCH="any"
    1.18 +REPOLOGY="${PACKAGE/-/:}"
    1.19  
    1.20 -TARBALL="XML-SAX-$VERSION.tar.gz"
    1.21 -WGET_URL="https://cpan.metacpan.org/authors/id/G/GR/GRANTM/$TARBALL"
    1.22 +TARBALL="$ORIGIN-$VERSION.tar.gz"
    1.23 +WGET_URL="https://cpan.metacpan.org/authors/id/${AUTHOR:0:1}/${AUTHOR:0:2}/$AUTHOR/$TARBALL"
    1.24  
    1.25 -BUILD_DEPENDS="perl-xml-namespacesupport perl-xml-sax-base"
    1.26 +DEPENDS_std="perl-xml-namespacesupport perl-xml-sax-base"
    1.27 +BUILD_DEPENDS="$DEPENDS_std"
    1.28  
    1.29  compile_rules() {
    1.30  	# Please keep `make -j1 install` to FS before installing to the DESTDIR
    1.31 @@ -24,8 +28,3 @@
    1.32  #	cp -v       /usr/lib/perl5/site_perl/5.24.1/XML/SAX/ParserDetails.ini \
    1.33  #		$install/usr/lib/perl5/site_perl/5.24.1/XML/SAX/
    1.34  }
    1.35 -
    1.36 -genpkg_rules() {
    1.37 -	copy @std
    1.38 -	DEPENDS="$BUILD_DEPENDS"
    1.39 -}