wok-next view perl-http-cookies/receipt @ rev 12298

Modify extension in TARBALL and SOURCE name
author Stanislas Leduc <shann@slitaz.org>
date Mon Apr 16 12:23:25 2012 +0200 (2012-04-16)
parents c324c88e6ae0
children 2d12ebd38be4
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-http-cookies"
4 VERSION="6.01"
5 CATEGORY="development"
6 SHORT_DESC="Perl HTTP cookie jars"
7 MAINTAINER="erjo@slitaz.org"
8 SOURCE="HTTP-Cookies"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://search.cpan.org/dist/libwww-perl/"
11 WGET_URL="http://www.cpan.org/authors/id/G/GA/GAAS/$TARBALL"
13 DEPENDS="perl perl-http-date perl-http-message "
14 BUILD_DEPENDS="perl $DEPENDS"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL && make && 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 }