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

xz: remove liblzma
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 13 16:21:42 2013 +0200 (2013-07-13)
parents 062741b552e9
children 3d257ce86aef
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 LICENSE="GPL"
9 SOURCE="DateTime"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://search.cpan.org/dist/DateTime"
12 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL"
14 DEPENDS="perl perl-params-validate perl-test-exception \
15 perl-datetime-locale perl-math-round perl-datetime-timezone"
16 BUILD_DEPENDS="$DEPENDS"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 perl Build.PL &&
23 ./Build --destdir $DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }