wok view perl-http-parser/receipt @ rev 22005

added tar-lang 1.32
author Hans-G?nter Theisgen
date Fri Oct 18 17:38:24 2019 +0100 (2019-10-18)
parents 20661c276bcf
children 15650f5d595b
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-http-parser"
4 VERSION="0.06"
5 CATEGORY="development"
6 SHORT_DESC="parse HTTP/1.1 request into HTTP::Request/Response object"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/HTTP-Parser"
10 SOURCE="HTTP-Parser"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="https://cpan.metacpan.org/CPAN/authors/id/E/ED/EDECA/$TARBALL"
14 DEPENDS="perl-http-message perl-uri"
15 BUILD_DEPENDS="perl $DEPENDS"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 perl Makefile.PL &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }