wok-current view perl-datetime/receipt @ rev 23948
Add barrage & penguin-command (thanks rerievo)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 20 16:26:50 2020 +0000 (2020-09-20) |
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 }