# HG changeset patch # User Eric Joseph-Alexandre # Date 1330299494 -3600 # Node ID a57b4693ff3be891ca799506205a533d0fc451fc # Parent d7d27acf23616d0120ee1a8b458ad29741ab3b17 Add: perl-parser diff -r d7d27acf2361 -r a57b4693ff3b perl-http-parser/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-http-parser/receipt Mon Feb 27 00:38:14 2012 +0100 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="perl-http-parser" +VERSION="0.06" +CATEGORY="development" +SHORT_DESC="parse HTTP/1.1 request into HTTP::Request/Response object" +MAINTAINER="erjo@slitaz.org" +WEB_SITE="http://search.cpan.org/~edeca/HTTP-Parser-0.06/" +SOURCE="HTTP-Parser" +TARBALL="$SOURCE-$VERSION.tar.gz" +WGET_URL="http://search.cpan.org/CPAN/authors/id/E/ED/EDECA/$TARBALL" + +DEPENDS="perl-http-message perl-uri" +BUILD_DEPENDS="perl $DEPENDS" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + perl Makefile.PL && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/lib $fs/usr +} + +