wok-next diff perl-html-parser/receipt @ rev 21093

garcon, libacpi, mypaint: make shared libs executables to correct determine architecture (no "noarch")
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 29 17:03:13 2018 +0200 (2018-12-29)
parents d5aab818505e
children
line diff
     1.1 --- a/perl-html-parser/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/perl-html-parser/receipt	Sat Dec 29 17:03:13 2018 +0200
     1.3 @@ -1,28 +1,22 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6 +ORIGIN="HTML-Parser"
     1.7  PACKAGE="perl-html-parser"
     1.8  VERSION="3.72"
     1.9 +AUTHOR="GAAS"
    1.10  CATEGORY="perl"
    1.11  SHORT_DESC="HTML::Parser - HTML parser class"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL"
    1.14 -WEB_SITE="https://metacpan.org/release/HTML-Parser"
    1.15 -REPOLOGY="perl:html-parser"
    1.16 +WEB_SITE="https://metacpan.org/release/$ORIGIN"
    1.17 +REPOLOGY="${PACKAGE/-/:}"
    1.18  
    1.19 -TARBALL="HTML-Parser-$VERSION.tar.gz"
    1.20 -WGET_URL="https://cpan.metacpan.org/authors/id/G/GA/GAAS/$TARBALL"
    1.21 +TARBALL="$ORIGIN-$VERSION.tar.gz"
    1.22 +WGET_URL="https://cpan.metacpan.org/authors/id/${AUTHOR:0:1}/${AUTHOR:0:2}/$AUTHOR/$TARBALL"
    1.23  
    1.24 -BUILD_DEPENDS="perl-dev perl-html-tagset"
    1.25 +DEPENDS_std="perl-html-tagset"
    1.26 +BUILD_DEPENDS="$DEPENDS_std perl-dev"
    1.27  
    1.28  compile_rules() {
    1.29 -	perl Makefile.PL &&
    1.30 -	make &&
    1.31 -	make DESTDIR=$install install &&
    1.32 -
    1.33 -	chmod -R u+w $install
    1.34 +	cook_perl
    1.35  }
    1.36 -
    1.37 -genpkg_rules() {
    1.38 -	copy @std
    1.39 -	DEPENDS="perl-html-tagset"
    1.40 -}