wok-6.x annotate perl-datetime-format-mail/receipt @ rev 14203
linux-libre: fix check_modules.sh
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 14 10:38:19 2013 +0100 (2013-03-14) |
parents | 84e5f2e10ea6 |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@9281 | 1 # SliTaz package receipt. |
pascal@9281 | 2 |
pascal@9281 | 3 PACKAGE="perl-datetime-format-mail" |
pascal@9281 | 4 VERSION="0.3001" |
pascal@9281 | 5 CATEGORY="development" |
pascal@9281 | 6 SHORT_DESC="DateTime::Format::Mail module is a Perl extension." |
pascal@9281 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@9281 | 8 SOURCE="DateTime-Format-Mail" |
pascal@9281 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@9281 | 10 WEB_SITE="http://cpan.org/" |
pascal@9281 | 11 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL" |
pascal@9281 | 12 |
pascal@11857 | 13 DEPENDS="perl" |
pascal@11857 | 14 BUILD_DEPENDS="perl-datetime perl-params-validate" |
pascal@11857 | 15 |
pascal@9281 | 16 # Rules to configure and make the package. |
pascal@9281 | 17 compile_rules() |
pascal@9281 | 18 { |
pascal@9281 | 19 cd $src |
pascal@9281 | 20 perl Makefile.PL && |
pascal@9281 | 21 make && |
pascal@9281 | 22 make DESTDIR=$PWD/_pkg install |
pascal@9281 | 23 } |
pascal@9281 | 24 |
pascal@9281 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9281 | 26 genpkg_rules() |
pascal@9281 | 27 { |
pascal@9281 | 28 mkdir -p $fs/usr |
pascal@9281 | 29 cp -a $_pkg/usr/lib $fs/usr |
pascal@9281 | 30 } |
pascal@9281 | 31 |