wok view perl-datetime/receipt @ rev 20648
Up zstd (1.3.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 12 12:12:27 2019 +0100 (2019-01-12) |
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 }