wok view perl-datetime/receipt @ rev 14781

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 05 13:51:55 2013 +0200 (2013-07-05)
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 }