wok-6.x view perl-http-parser/receipt @ rev 14028
linux: check_modules.sh do not create $WOK/tmp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 18 10:10:03 2013 +0100 (2013-02-18) |
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 }