wok-next diff perl-params-validate/receipt @ rev 21495

updated arping (2.19 -> 2.21)
author Hans-G?nter Theisgen
date Thu Jun 18 21:25:23 2020 +0100 (2020-06-18)
parents d5aab818505e
children
line diff
     1.1 --- a/perl-params-validate/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/perl-params-validate/receipt	Thu Jun 18 21:25:23 2020 +0100
     1.3 @@ -1,19 +1,22 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6 +ORIGIN="Params-Validate"
     1.7  PACKAGE="perl-params-validate"
     1.8  VERSION="1.29"
     1.9 +AUTHOR="DROLSKY"
    1.10  CATEGORY="perl"
    1.11  SHORT_DESC="Params::Validate - Validate method/function parameters"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL"
    1.14 -WEB_SITE="https://metacpan.org/release/Params-Validate"
    1.15 -REPOLOGY="perl:params-validate"
    1.16 +WEB_SITE="https://metacpan.org/release/$ORIGIN"
    1.17 +REPOLOGY="${PACKAGE/-/:}"
    1.18  
    1.19 -TARBALL="Params-Validate-$VERSION.tar.gz"
    1.20 -WGET_URL="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/$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-module-implementation perl-dev perl-module-build \
    1.25 -perl-test-fatal perl-test-requires"
    1.26 +DEPENDS_std="perl-module-implementation"
    1.27 +BUILD_DEPENDS="$DEPENDS_std perl-dev perl-module-build perl-test-fatal \
    1.28 +perl-test-requires"
    1.29  
    1.30  compile_rules() {
    1.31  	perl Build.PL &&
    1.32 @@ -21,8 +24,3 @@
    1.33  
    1.34  	chmod -R u+w $install
    1.35  }
    1.36 -
    1.37 -genpkg_rules() {
    1.38 -	copy @std
    1.39 -	DEPENDS="perl-module-implementation"
    1.40 -}