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

Up linux-libre (3.18.129)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 17 23:42:42 2018 +0100 (2018-12-17)
parents 615dd0551477
children 6e8b1bcb30e2
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-try-tiny perl-test-simple perl-exporter-tiny \
17 perl-class-singleton"
18 BUILD_DEPENDS="$DEPENDS"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 perl Build.PL &&
25 ./Build --destdir $DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 }