wok-next annotate perl-params-validate/receipt @ rev 20113
Add some bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 30 09:29:31 2017 +0100 (2017-10-30) |
parents | 1a86cb99cbbf |
children | 44d2daaccb67 |
rev | line source |
---|---|
pascal@9281 | 1 # SliTaz package receipt. |
pascal@9281 | 2 |
pascal@9281 | 3 PACKAGE="perl-params-validate" |
al@19709 | 4 VERSION="1.26" |
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 } |