wok-6.x view perl-datetime/receipt @ rev 12000
firefox-dev: fix include-dir
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Mar 04 22:13:07 2012 +0100 (2012-03-04) |
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 }