wok-stable annotate perl-http-parser/receipt @ rev 11993

no extensions in desktop files
author Samuel Trassare <samuel_trassare@yahoo.com>
date Sat Mar 03 12:41:54 2012 -0800 (2012-03-03)
parents
children
rev   line source
erjo@11837 1 # SliTaz package receipt.
erjo@11837 2
erjo@11837 3 PACKAGE="perl-http-parser"
erjo@11837 4 VERSION="0.06"
erjo@11837 5 CATEGORY="development"
erjo@11837 6 SHORT_DESC="parse HTTP/1.1 request into HTTP::Request/Response object"
erjo@11837 7 MAINTAINER="erjo@slitaz.org"
erjo@11837 8 WEB_SITE="http://search.cpan.org/~edeca/HTTP-Parser-0.06/"
erjo@11837 9 SOURCE="HTTP-Parser"
erjo@11837 10 TARBALL="$SOURCE-$VERSION.tar.gz"
erjo@11837 11 WGET_URL="http://search.cpan.org/CPAN/authors/id/E/ED/EDECA/$TARBALL"
erjo@11837 12
erjo@11837 13 DEPENDS="perl-http-message perl-uri"
erjo@11837 14 BUILD_DEPENDS="perl $DEPENDS"
erjo@11837 15
erjo@11837 16 # Rules to configure and make the package.
erjo@11837 17 compile_rules()
erjo@11837 18 {
erjo@11837 19 cd $src
erjo@11837 20 perl Makefile.PL &&
erjo@11837 21 make &&
erjo@11837 22 make DESTDIR=$DESTDIR install
erjo@11837 23 }
erjo@11837 24
erjo@11837 25 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@11837 26 genpkg_rules()
erjo@11837 27 {
erjo@11837 28 mkdir -p $fs/usr
erjo@11837 29 cp -a $_pkg/usr/lib $fs/usr
erjo@11837 30 }
erjo@11837 31
erjo@11837 32