wok-next diff perl-params-validate/receipt @ rev 21047
Up tazpkg (971), cookutils (1095)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 26 21:15:05 2018 +0200 (2018-11-26) |
parents | 4e6503d7a19f |
children | f17e1f86f546 |
line diff
1.1 --- a/perl-params-validate/receipt Thu Jul 12 18:34:58 2018 +0300 1.2 +++ b/perl-params-validate/receipt Mon Nov 26 21:15:05 2018 +0200 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="perl-params-validate" 1.8 VERSION="1.29" 1.9 @@ -12,21 +12,17 @@ 1.10 TARBALL="Params-Validate-$VERSION.tar.gz" 1.11 WGET_URL="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/$TARBALL" 1.12 1.13 -DEPENDS="perl-module-implementation" 1.14 -BUILD_DEPENDS="$DEPENDS perl-dev perl-module-build perl-test-fatal \ 1.15 -perl-test-requires" 1.16 +BUILD_DEPENDS="perl-module-implementation perl-dev perl-module-build \ 1.17 +perl-test-fatal perl-test-requires" 1.18 1.19 -# Rules to configure and make the package. 1.20 -compile_rules() 1.21 -{ 1.22 +compile_rules() { 1.23 perl Build.PL && 1.24 ./Build --destdir $install install && 1.25 1.26 chmod -R u+w $install 1.27 } 1.28 1.29 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 -genpkg_rules() 1.31 -{ 1.32 +genpkg_rules() { 1.33 copy @std 1.34 + DEPENDS="perl-module-implementation" 1.35 }