wok annotate perl-http-date/receipt @ rev 25539
Up perl-test-compile (3.1.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 09 12:11:13 2023 +0000 (21 months ago) |
parents | 15650f5d595b |
children |
rev | line source |
---|---|
erjo@11835 | 1 # SliTaz package receipt. |
erjo@11835 | 2 |
erjo@11835 | 3 PACKAGE="perl-http-date" |
Hans-G?nter@23344 | 4 VERSION="6.05" |
erjo@11835 | 5 CATEGORY="development" |
Hans-G?nter@23344 | 6 SHORT_DESC="Perl date conversion routines." |
slaxemulator@11841 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@25539 | 9 WEB_SITE="https://metacpan.org/dist/HTTP-Date" |
Hans-G?nter@23344 | 10 |
erjo@11835 | 11 SOURCE="HTTP-Date" |
erjo@11835 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23344 | 13 WGET_URL="https://www.cpan.org/modules/by-module/HTTP/$TARBALL" |
slaxemulator@11841 | 14 |
slaxemulator@11841 | 15 DEPENDS="perl" |
slaxemulator@11841 | 16 BUILD_DEPENDS="perl" |
erjo@11835 | 17 |
pascal@24102 | 18 current_version() |
pascal@24102 | 19 { |
pascal@24102 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 22 } |
pascal@24102 | 23 |
erjo@11835 | 24 # Rules to configure and make the package. |
erjo@11835 | 25 compile_rules() |
erjo@11835 | 26 { |
erjo@11835 | 27 perl Makefile.PL && |
erjo@11835 | 28 make && |
erjo@11835 | 29 make DESTDIR=$DESTDIR install |
erjo@11835 | 30 } |
erjo@11835 | 31 |
erjo@11835 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11835 | 33 genpkg_rules() |
erjo@11835 | 34 { |
Hans-G?nter@23344 | 35 cp -a $install/* $fs |
erjo@11835 | 36 } |