wok annotate perl-http-message/receipt @ rev 11836

Add: perl-http-message
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Feb 27 00:37:55 2012 +0100 (2012-02-27)
parents
children 8d9183df9632
rev   line source
erjo@11836 1 # SliTaz package receipt.
erjo@11836 2
erjo@11836 3 PACKAGE="perl-http-message"
erjo@11836 4 VERSION="6.03"
erjo@11836 5 CATEGORY="development"
erjo@11836 6 SHORT_DESC="HTTP style messages"
erjo@11836 7 MAINTAINER="erjo@slitaz.org"
erjo@11836 8 DEPENDS="perl-http-date "
erjo@11836 9 BUILD_DEPENDS="perl $DEPENDS"
erjo@11836 10 SOURCE="HTTP-Message"
erjo@11836 11 TARBALL="$SOURCE-$VERSION.tar.gz"
erjo@11836 12 WEB_SITE="http://search.cpan.org/~gaas/HTTP-Message-6.03/"
erjo@11836 13 WGET_URL="http://www.cpan.org/authors/id/G/GA/GAAS/$TARBALL"
erjo@11836 14
erjo@11836 15 # Rules to configure and make the package.
erjo@11836 16 compile_rules()
erjo@11836 17 {
erjo@11836 18 cd $src
erjo@11836 19 perl Makefile.PL &&
erjo@11836 20 make &&
erjo@11836 21 make DESTDIR=$DESTDIR install
erjo@11836 22 }
erjo@11836 23
erjo@11836 24 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@11836 25 genpkg_rules()
erjo@11836 26 {
erjo@11836 27 mkdir -p $fs/usr
erjo@11836 28 cp -a $_pkg/usr/bin $fs/usr
erjo@11836 29 cp -a $_pkg/usr/lib $fs/usr
erjo@11836 30 }