wok-next diff perl-package-deprecationmanager/receipt @ rev 21595

updated dokuwiki (2012-01-25 -> 2018-04-22c)
author Hans-G?nter Theisgen
date Wed Jun 24 13:53:45 2020 +0100 (2020-06-24)
parents d5aab818505e
children
line diff
     1.1 --- a/perl-package-deprecationmanager/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/perl-package-deprecationmanager/receipt	Wed Jun 24 13:53:45 2020 +0100
     1.3 @@ -1,30 +1,24 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7 +ORIGIN="Package-DeprecationManager"
     1.8  PACKAGE="perl-package-deprecationmanager"
     1.9  VERSION="0.17"
    1.10 +AUTHOR="DROLSKY"
    1.11  CATEGORY="perl"
    1.12  SHORT_DESC="Package::DeprecationManager - Manage deprecation warnings for your \
    1.13  distribution"
    1.14  MAINTAINER="al.bobylev@gmail.com"
    1.15  LICENSE="GPL"
    1.16 -WEB_SITE="https://metacpan.org/release/Package-DeprecationManager"
    1.17 -REPOLOGY="perl:package-deprecationmanager"
    1.18 +WEB_SITE="https://metacpan.org/release/$ORIGIN"
    1.19 +HOST_ARCH="any"
    1.20 +REPOLOGY="${PACKAGE/-/:}"
    1.21  
    1.22 -TARBALL="Package-DeprecationManager-$VERSION.tar.gz"
    1.23 -WGET_URL="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/$TARBALL"
    1.24 +TARBALL="$ORIGIN-$VERSION.tar.gz"
    1.25 +WGET_URL="https://cpan.metacpan.org/authors/id/${AUTHOR:0:1}/${AUTHOR:0:2}/$AUTHOR/$TARBALL"
    1.26  
    1.27 -BUILD_DEPENDS="perl-package-stash perl-params-util perl-sub-install \
    1.28 -perl-sub-name perl-test-fatal perl-test-warnings"
    1.29 +DEPENDS_std="perl-package-stash perl-params-util perl-sub-install perl-sub-name"
    1.30 +BUILD_DEPENDS="$DEPENDS_std perl-test-fatal perl-test-warnings"
    1.31  
    1.32  compile_rules() {
    1.33 -	perl Makefile.PL &&
    1.34 -	make &&
    1.35 -	make DESTDIR=$install install &&
    1.36 -
    1.37 -	chmod -R u+w $install
    1.38 +	cook_perl
    1.39  }
    1.40 -
    1.41 -genpkg_rules() {
    1.42 -	copy @std
    1.43 -	DEPENDS="perl-package-stash perl-params-util perl-sub-install perl-sub-name"
    1.44 -}