wok-6.x annotate perl-http-date/receipt @ rev 11835

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