wok-current view perl-http-parser/receipt @ rev 21601
Up lz4 (1.9.1 - 10/20% faster), tazlito (515)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 23 11:16:33 2019 +0200 (2019-05-23) |
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 }