wok annotate perl-http-date/receipt @ rev 23061
cookutils: fix check-wok
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 07 18:34:36 2020 +0100 (2020-03-07) |
parents | 6e8b1bcb30e2 |
children | e6a9b7ce33a7 |
rev | line source |
---|---|
erjo@11835 | 1 # SliTaz package receipt. |
erjo@11835 | 2 |
erjo@11835 | 3 PACKAGE="perl-http-date" |
erjo@11835 | 4 VERSION="6.01" |
erjo@11835 | 5 CATEGORY="development" |
slaxemulator@11841 | 6 SHORT_DESC="date conversion routines" |
slaxemulator@11841 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@20671 | 9 WEB_SITE="https://metacpan.org/release/HTTP-Date" |
erjo@11835 | 10 SOURCE="HTTP-Date" |
erjo@11835 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20682 | 12 WGET_URL="https://metacpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" |
slaxemulator@11841 | 13 |
slaxemulator@11841 | 14 DEPENDS="perl" |
slaxemulator@11841 | 15 BUILD_DEPENDS="perl" |
erjo@11835 | 16 |
erjo@11835 | 17 # Rules to configure and make the package. |
erjo@11835 | 18 compile_rules() |
erjo@11835 | 19 { |
erjo@11835 | 20 cd $src |
erjo@11835 | 21 perl Makefile.PL && |
erjo@11835 | 22 make && |
erjo@11835 | 23 make DESTDIR=$DESTDIR install |
erjo@11835 | 24 } |
erjo@11835 | 25 |
erjo@11835 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11835 | 27 genpkg_rules() |
erjo@11835 | 28 { |
slaxemulator@11841 | 29 cp -a $install/* $fs |
erjo@11835 | 30 } |