wok-next view perl-params-validate/receipt @ rev 19769

Update Perl XS modules that need perl-dev to build (unlike Pure Perl), rebuild all module packages as Perl version change.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 14 09:51:23 2017 +0300 (2017-06-14)
parents 1a86cb99cbbf
children 44d2daaccb67
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-params-validate"
4 VERSION="1.26"
5 CATEGORY="perl"
6 SHORT_DESC="Params::Validate - Validate method/function parameters"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/Params-Validate"
11 TARBALL="Params-Validate-$VERSION.tar.gz"
12 WGET_URL="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/$TARBALL"
14 DEPENDS="perl-module-implementation"
15 BUILD_DEPENDS="$DEPENDS perl-dev perl-module-build perl-test-fatal \
16 perl-test-requires"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 perl Build.PL &&
22 ./Build --destdir $install install &&
24 chmod -R u+w $install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 copy @std
31 }