wok-6.x view perl-http-parser/receipt @ rev 12315

Up: openjpeg to 1.5.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Apr 19 07:16:01 2012 +0000 (2012-04-19)
parents
children 2d12ebd38be4
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 WEB_SITE="http://search.cpan.org/~edeca/HTTP-Parser-0.06/"
9 SOURCE="HTTP-Parser"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WGET_URL="http://search.cpan.org/CPAN/authors/id/E/ED/EDECA/$TARBALL"
13 DEPENDS="perl-http-message perl-uri"
14 BUILD_DEPENDS="perl $DEPENDS"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
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 $_pkg/usr/lib $fs/usr
30 }