wok-next diff perl-datetime-locale/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 d5aab818505e
children
line diff
     1.1 --- a/perl-datetime-locale/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/perl-datetime-locale/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -1,32 +1,25 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7 +ORIGIN="DateTime-Locale"
     1.8  PACKAGE="perl-datetime-locale"
     1.9 -VERSION="1.22"
    1.10 +VERSION="1.23"
    1.11 +AUTHOR="DROLSKY"
    1.12  CATEGORY="perl"
    1.13  SHORT_DESC="DateTime::Locale - Localization support for DateTime.pm"
    1.14  MAINTAINER="pascal.bellard@slitaz.org"
    1.15  LICENSE="GPL"
    1.16 -WEB_SITE="https://metacpan.org/release/DateTime-Locale"
    1.17 -REPOLOGY="perl:datetime-locale"
    1.18 +WEB_SITE="https://metacpan.org/release/$ORIGIN"
    1.19 +HOST_ARCH="any"
    1.20 +REPOLOGY="${PACKAGE/-/:}"
    1.21  
    1.22 -TARBALL="DateTime-Locale-$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-dist-checkconflicts perl-file-sharedir \
    1.28 -perl-scalar-list-utils perl-namespace-autoclean perl-params-validationcompiler \
    1.29 -perl-specio perl-file-sharedir-install perl-cpan-meta-check perl-test-fatal \
    1.30 -perl-test-file-sharedir perl-test-requires perl-test-warnings"
    1.31 +DEPENDS_std="perl-dist-checkconflicts perl-file-sharedir perl-scalar-list-utils \
    1.32 +perl-namespace-autoclean perl-params-validationcompiler perl-specio"
    1.33 +BUILD_DEPENDS="$DEPENDS_std perl-file-sharedir-install perl-cpan-meta-check \
    1.34 +perl-test-fatal perl-test-file-sharedir perl-test-requires perl-test-warnings"
    1.35  
    1.36  compile_rules() {
    1.37 -	perl Makefile.PL &&
    1.38 -	make &&
    1.39 -	make DESTDIR=$install install &&
    1.40 -
    1.41 -	chmod -R u+w $install
    1.42 +	cook_perl
    1.43  }
    1.44 -
    1.45 -genpkg_rules() {
    1.46 -	copy @std
    1.47 -	DEPENDS="perl-dist-checkconflicts perl-file-sharedir perl-scalar-list-utils \
    1.48 -	perl-namespace-autoclean perl-params-validationcompiler perl-specio"
    1.49 -}