wok view perl-datetime/receipt @ rev 12917

Up: libffi (3.0.11)
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 29 19:36:22 2012 +0000 (2012-05-29)
parents 21d3d849daa2
children 2d12ebd38be4
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://search.cpan.org/dist/DateTime"
11 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL"
13 DEPENDS="perl perl-params-validate perl-test-exception \
14 perl-datetime-locale perl-math-round perl-datetime-timezone"
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 $_pkg/usr/lib $fs/usr
30 }