wok annotate perl-http-date/receipt @ rev 25161

created recipe for py3k-pillow
author Hans-G?nter Theisgen
date Fri Jul 01 10:04:47 2022 +0100 (2022-07-01)
parents e6a9b7ce33a7
children c3a6f662a1c1
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@20671 9 WEB_SITE="https://metacpan.org/release/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 }