wok view perl-datetime/receipt @ rev 23696

Up libtcplay (3.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 27 09:29:39 2020 +0000 (2020-04-27)
parents 20661c276bcf
children 15650f5d595b
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-datetime"
4 VERSION="1.52"
5 CATEGORY="development"
6 SHORT_DESC="Perl extension DateTime."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/DateTime"
11 SOURCE="DateTime"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://www.cpan.org/modules/by-module/DateTime/$TARBALL"
15 DEPENDS="perl perl-class-singleton perl-datetime-locale perl-datetime-timezone
16 perl-exporter-tiny perl-list-moreutils perl-math-round perl-params-validate
17 perl-test-exception perl-test-fatal perl-test-warnings perl-test-simple
18 perl-try-tiny"
19 BUILD_DEPENDS="$DEPENDS"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 perl Makefile.PL &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/lib $fs/usr
34 }