wok view perl-datetime-format-mail/receipt @ rev 12088

busybox: su should not chdir (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 09:31:50 2012 +0100 (2012-03-10)
parents 84e5f2e10ea6
children 2d12ebd38be4
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-datetime-format-mail"
4 VERSION="0.3001"
5 CATEGORY="development"
6 SHORT_DESC="DateTime::Format::Mail module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="DateTime-Format-Mail"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://cpan.org/"
11 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL"
13 DEPENDS="perl"
14 BUILD_DEPENDS="perl-datetime perl-params-validate"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL &&
21 make &&
22 make 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 }