wok-next view perl-datetime/receipt @ rev 20955

Update Perl packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Sep 03 10:09:42 2018 +0300 (2018-09-03)
parents 4e6503d7a19f
children f17e1f86f546
line source
1 # SliTaz package receipt v2.
3 PACKAGE="perl-datetime"
4 VERSION="1.50"
5 CATEGORY="perl"
6 SHORT_DESC="DateTime - A date and time object for Perl"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/DateTime"
10 REPOLOGY="perl:datetime"
12 TARBALL="DateTime-$VERSION.tar.gz"
13 WGET_URL="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/$TARBALL"
15 BUILD_DEPENDS="perl-datetime-locale perl-datetime-timezone \
16 perl-dist-checkconflicts perl-namespace-autoclean \
17 perl-params-validationcompiler perl-specio perl-try-tiny \
18 perl-dev perl-cpan-meta-check perl-test-warnings"
20 compile_rules() {
21 perl Makefile.PL &&
22 make &&
23 make DESTDIR=$install install &&
25 chmod -R u+w $install
26 }
28 genpkg_rules() {
29 copy @std
30 DEPENDS="perl-datetime-locale perl-datetime-timezone \
31 perl-dist-checkconflicts perl-namespace-autoclean \
32 perl-params-validationcompiler perl-specio perl-try-tiny"
33 }