wok view perl-params-validate/receipt @ rev 19366
freeradius: add init script
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 03 21:33:44 2016 +0200 (2016-08-03) |
parents | 3d257ce86aef |
children | 20661c276bcf |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-params-validate"
4 VERSION="1.21"
5 CATEGORY="development"
6 SHORT_DESC="Params::Validate module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 SOURCE="Params-Validate"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://cpan.org/"
12 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL"
14 DEPENDS="perl perl-test-requires perl-module-implementation perl-test-fatal perl-test-simple"
15 BUILD_DEPENDS="$DEPENDS"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 perl Build.PL &&
22 ./Build --destdir $DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }