wok-current view perl-params-validate/receipt @ rev 15050

kino: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 12 18:52:35 2013 +0000 (2013-08-12)
parents 84e5f2e10ea6
children 3d257ce86aef
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-params-validate"
4 VERSION="0.95"
5 CATEGORY="development"
6 SHORT_DESC="Params::Validate module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 DEPENDS="perl"
10 BUILD_DEPENDS="perl"
11 SOURCE="Params-Validate"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://cpan.org/"
14 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Build.PL &&
21 ./Build --destdir $DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 }