wok-6.x view perl-datetime/receipt @ rev 18725
lynis 2.1.1: fix: installs in /usr/share/lynis but can not be found, trying /usr/local/share (as in example on dev website)
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Fri Dec 18 13:20:19 2015 +0000 (2015-12-18) |
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 }