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