wok-current annotate perl-params-validate/receipt @ rev 21582
Use python-setuptools as bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 19 19:45:04 2019 +0200 (2019-05-19) |
parents | fde8184f2ab2 |
children | b369f811852b |
rev | line source |
---|---|
pascal@9281 | 1 # SliTaz package receipt. |
pascal@9281 | 2 |
pascal@9281 | 3 PACKAGE="perl-params-validate" |
nneul@18450 | 4 VERSION="1.21" |
pascal@9281 | 5 CATEGORY="development" |
pascal@9281 | 6 SHORT_DESC="Params::Validate module is a Perl extension." |
pascal@9281 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@9281 | 9 SOURCE="Params-Validate" |
pascal@9281 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@9281 | 11 WEB_SITE="http://cpan.org/" |
pascal@20682 | 12 WGET_URL="https://metacpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL" |
pascal@9281 | 13 |
nneul@18452 | 14 DEPENDS="perl perl-test-requires perl-module-implementation perl-test-fatal perl-test-simple" |
nneul@18450 | 15 BUILD_DEPENDS="$DEPENDS" |
nneul@18450 | 16 |
pascal@9281 | 17 # Rules to configure and make the package. |
pascal@9281 | 18 compile_rules() |
pascal@9281 | 19 { |
pascal@9281 | 20 cd $src |
pascal@9281 | 21 perl Build.PL && |
pascal@14702 | 22 ./Build --destdir $DESTDIR install |
pascal@9281 | 23 } |
pascal@9281 | 24 |
pascal@9281 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9281 | 26 genpkg_rules() |
pascal@9281 | 27 { |
pascal@9281 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@9281 | 30 } |
pascal@9281 | 31 |