wok-next annotate perl-params-validate/receipt @ rev 20825
perl-dbd-mysql: typo in $WGET_URL
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 14 01:06:23 2018 +0300 (2018-06-14) |
parents | dfb3d7f1daed |
children | 4e6503d7a19f |
rev | line source |
---|---|
pascal@9281 | 1 # SliTaz package receipt. |
pascal@9281 | 2 |
pascal@9281 | 3 PACKAGE="perl-params-validate" |
al@20820 | 4 VERSION="1.29" |
al@19709 | 5 CATEGORY="perl" |
al@19709 | 6 SHORT_DESC="Params::Validate - Validate method/function parameters" |
pascal@9281 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
al@19709 | 9 WEB_SITE="https://metacpan.org/release/Params-Validate" |
pascal@9281 | 10 |
al@19709 | 11 TARBALL="Params-Validate-$VERSION.tar.gz" |
al@19709 | 12 WGET_URL="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/$TARBALL" |
al@19709 | 13 |
al@19709 | 14 DEPENDS="perl-module-implementation" |
al@19769 | 15 BUILD_DEPENDS="$DEPENDS perl-dev perl-module-build perl-test-fatal \ |
al@19769 | 16 perl-test-requires" |
nneul@18450 | 17 |
pascal@9281 | 18 # Rules to configure and make the package. |
pascal@9281 | 19 compile_rules() |
pascal@9281 | 20 { |
pascal@9281 | 21 perl Build.PL && |
al@19709 | 22 ./Build --destdir $install install && |
al@19709 | 23 |
al@19709 | 24 chmod -R u+w $install |
pascal@9281 | 25 } |
pascal@9281 | 26 |
pascal@9281 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9281 | 28 genpkg_rules() |
pascal@9281 | 29 { |
al@19709 | 30 copy @std |
pascal@9281 | 31 } |