wok-current annotate perl-http-message/receipt @ rev 24387
updated bsc (3.1.0 -> 3.2.4)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 07 15:20:20 2022 +0100 (2022-02-07) |
parents | 15650f5d595b |
children |
rev | line source |
---|---|
erjo@11836 | 1 # SliTaz package receipt. |
erjo@11836 | 2 |
erjo@11836 | 3 PACKAGE="perl-http-message" |
Hans-G?nter@24220 | 4 VERSION="6.35" |
erjo@11836 | 5 CATEGORY="development" |
Hans-G?nter@23345 | 6 SHORT_DESC="Perl HTTP style messages" |
slaxemulator@11843 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24220 | 9 WEB_SITE="https://metacpan.org/pod/HTTP::Message" |
Hans-G?nter@24220 | 10 REPOLOGY="perl:http-message" |
Hans-G?nter@23345 | 11 |
erjo@11836 | 12 SOURCE="HTTP-Message" |
erjo@11836 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23345 | 14 WGET_URL="https://www.cpan.org/modules/by-module/HTTP/$TARBALL" |
slaxemulator@11843 | 15 |
Hans-G?nter@24220 | 16 DEPENDS="perl perl-encode-locale perl-html-parser perl-http-date |
Hans-G?nter@24220 | 17 perl-lwp-mediatypes perl-uri" |
slaxemulator@11843 | 18 BUILD_DEPENDS="$DEPENDS" |
erjo@11836 | 19 |
pascal@24102 | 20 current_version() |
pascal@24102 | 21 { |
pascal@24102 | 22 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 23 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 24 } |
pascal@24102 | 25 |
erjo@11836 | 26 # Rules to configure and make the package. |
erjo@11836 | 27 compile_rules() |
erjo@11836 | 28 { |
erjo@11836 | 29 perl Makefile.PL && |
erjo@11836 | 30 make && |
Hans-G?nter@24220 | 31 make install DESTDIR=$DESTDIR |
erjo@11836 | 32 } |
erjo@11836 | 33 |
erjo@11836 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11836 | 35 genpkg_rules() |
erjo@11836 | 36 { |
Hans-G?nter@24220 | 37 cook_copy_folders lib |
erjo@11836 | 38 } |