wok-6.x view perl-datetime/receipt @ rev 10269

Up: perl-datetime to 0.70.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 21 04:58:37 2011 +0000 (2011-05-21)
parents c397d3775423
children 225d25cad6bf
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-datetime"
4 VERSION="0.70"
5 CATEGORY="development"
6 SHORT_DESC="DateTime module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="perl"
9 BUILD_DEPENDS="perl perl-params-validate perl-test-exception \
10 perl-datetime-locale perl-datetime-timezone"
11 SOURCE="DateTime"
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 $_pkg/usr/lib $fs/usr
29 }