wok view perl-datetime/receipt @ rev 9663

pcre: clean-up receipt
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 01 09:13:52 2011 +0200 (2011-05-01)
parents
children c397d3775423
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-datetime"
4 #VERSION="0.66"
5 VERSION="0.53"
6 CATEGORY="development"
7 SHORT_DESC="DateTime module is a Perl extension."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 DEPENDS="perl"
10 BUILD_DEPENDS="perl perl-params-validate perl-test-exception \
11 perl-datetime-locale perl-datetime-timezone"
12 SOURCE="DateTime"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WEB_SITE="http://cpan.org/"
15 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 perl Build.PL &&
22 ./Build --destdir $PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 }