wok-next view perl-datetime/receipt @ rev 11946
add perl-mathround
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 01 10:46:31 2012 +0100 (2012-03-01) |
parents | 225d25cad6bf |
children | 062741b552e9 |
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 SOURCE="DateTime"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://cpan.org/"
11 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL"
13 DEPENDS="perl"
14 BUILD_DEPENDS="perl perl-params-validate perl-test-exception \
15 perl-datetime-locale perl-datetime-timezone perl-mathround"
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 $_pkg/usr/lib $fs/usr
30 }