wok-4.x view perl-datetime/receipt @ rev 10170
Fixed the last two commits.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 21:49:32 2011 +0000 (2011-05-20) |
parents | 84e5f2e10ea6 |
children | af660d02860e |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-datetime"
4 VERSION="0.69"
5 CATEGORY="development"
6 SHORT_DESC="DateTime module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="perl"
9 BUILD_DEPENDS="perl perl-params-validate perl-test-exception \
10 perl-datetime-locale perl-datetime-timezone"
11 SOURCE="DateTime"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://cpan.org/"
14 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Build.PL &&
21 ./Build --destdir $DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
29 }