wok-6.x annotate perl-datetime-format-mail/receipt @ rev 18309
Up cookutils (750)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 25 12:04:37 2015 +0200 (2015-08-25) |
parents | 2d12ebd38be4 |
children | 20661c276bcf |
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@15002 | 8 LICENSE="GPL2" |
pascal@9281 | 9 SOURCE="DateTime-Format-Mail" |
pascal@9281 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@9281 | 11 WEB_SITE="http://cpan.org/" |
pascal@9281 | 12 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL" |
pascal@9281 | 13 |
pascal@11857 | 14 DEPENDS="perl" |
pascal@11857 | 15 BUILD_DEPENDS="perl-datetime perl-params-validate" |
pascal@11857 | 16 |
pascal@9281 | 17 # Rules to configure and make the package. |
pascal@9281 | 18 compile_rules() |
pascal@9281 | 19 { |
pascal@9281 | 20 cd $src |
pascal@9281 | 21 perl Makefile.PL && |
pascal@9281 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
pascal@9281 | 24 } |
pascal@9281 | 25 |
pascal@9281 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9281 | 27 genpkg_rules() |
pascal@9281 | 28 { |
pascal@9281 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
pascal@9281 | 31 } |
pascal@9281 | 32 |