wok view perl-datetime/receipt @ rev 22062

created package get-e-uae
author Hans-G?nter Theisgen
date Thu Oct 24 16:40:55 2019 +0100 (2019-10-24)
parents 6e8b1bcb30e2
children 0d774eb19bf9
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="https://metacpan.org/release/DateTime"
12 WGET_URL="https://metacpan.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 }