wok-current view perl-http-parser/receipt @ rev 16976

Add backup-manager
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 06 09:55:03 2014 +0200 (2014-08-06)
parents a57b4693ff3b
children 20661c276bcf
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="http://search.cpan.org/~edeca/HTTP-Parser-0.06/"
10 SOURCE="HTTP-Parser"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="http://search.cpan.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 cd $src
21 perl Makefile.PL &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }