wok-next diff perl-package-stash/receipt @ rev 21571

updated cssc (1.4.0 -> 1.4.1)
author Hans-G?nter Theisgen
date Mon Jun 22 16:52:21 2020 +0100 (2020-06-22)
parents d5aab818505e
children
line diff
     1.1 --- a/perl-package-stash/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/perl-package-stash/receipt	Mon Jun 22 16:52:21 2020 +0100
     1.3 @@ -1,29 +1,24 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6 +ORIGIN="Package-Stash"
     1.7  PACKAGE="perl-package-stash"
     1.8  VERSION="0.37"
     1.9 +AUTHOR="DOY"
    1.10  CATEGORY="perl"
    1.11  SHORT_DESC="Package::Stash - routines for manipulating stashes"
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="GPL"
    1.14 -WEB_SITE="https://metacpan.org/release/Package-Stash"
    1.15 -REPOLOGY="perl:package-stash"
    1.16 +WEB_SITE="https://metacpan.org/release/$ORIGIN"
    1.17 +HOST_ARCH="any"
    1.18 +REPOLOGY="${PACKAGE/-/:}"
    1.19  
    1.20 -TARBALL="Package-Stash-$VERSION.tar.gz"
    1.21 -WGET_URL="https://cpan.metacpan.org/authors/id/D/DO/DOY/$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-dist-checkconflicts perl-module-implementation \
    1.26 -perl-package-stash-xs perl-test-fatal perl-test-requires"
    1.27 +DEPENDS_std="perl-dist-checkconflicts perl-module-implementation"
    1.28 +BUILD_DEPENDS="$DEPENDS_std perl-package-stash-xs perl-test-fatal \
    1.29 +perl-test-requires"
    1.30  
    1.31  compile_rules() {
    1.32 -	perl Makefile.PL &&
    1.33 -	make &&
    1.34 -	make DESTDIR=$install install &&
    1.35 -
    1.36 -	chmod -R u+w $install
    1.37 +	cook_perl
    1.38  }
    1.39 -
    1.40 -genpkg_rules() {
    1.41 -	copy @std
    1.42 -	DEPENDS="perl-dist-checkconflicts perl-module-implementation"
    1.43 -}