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

grub4dos: search menu.lst in current drive first
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 14 14:58:48 2011 +0200 (2011-08-14)
parents c397d3775423
children 225d25cad6bf
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-datetime"
4 VERSION="0.70"
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 }