wok-current view perl-datetime/receipt @ rev 18451

perl-datetime: more dependencies
author Nathan Neulinger <nneul@neulinger.org>
date Sun Sep 27 20:12:10 2015 +0000 (2015-09-27)
parents 3d257ce86aef
children a0dc460b7199
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-datetime"
4 VERSION="1.20"
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 perl-test-warnings \
15 perl-datetime-locale perl-math-round perl-datetime-timezone perl-test-fatal \
16 perl-list-moreutils perl-exporter-tiny perl-class-singleton"
17 BUILD_DEPENDS="$DEPENDS"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 perl Build.PL &&
24 ./Build --destdir $DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 }