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