wok-6.x annotate perl-http-cookies/receipt @ rev 12237
uclibc-cross-compiler: update WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 09 15:07:54 2012 +0200 (2012-04-09) |
parents | c324c88e6ae0 |
children | 2d12ebd38be4 |
rev | line source |
---|---|
erjo@12228 | 1 # SliTaz package receipt. |
erjo@12228 | 2 |
erjo@12228 | 3 PACKAGE="perl-http-cookies" |
erjo@12228 | 4 VERSION="6.01" |
erjo@12228 | 5 CATEGORY="development" |
erjo@12228 | 6 SHORT_DESC="Perl HTTP cookie jars" |
erjo@12228 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@12228 | 8 SOURCE="HTTP-Cookies" |
erjo@12228 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
erjo@12228 | 10 WEB_SITE="http://search.cpan.org/dist/libwww-perl/" |
erjo@12228 | 11 WGET_URL="http://www.cpan.org/authors/id/G/GA/GAAS/$TARBALL" |
erjo@12228 | 12 |
erjo@12230 | 13 DEPENDS="perl perl-http-date perl-http-message " |
erjo@12228 | 14 BUILD_DEPENDS="perl $DEPENDS" |
erjo@12228 | 15 |
erjo@12228 | 16 # Rules to configure and make the package. |
erjo@12228 | 17 compile_rules() |
erjo@12228 | 18 { |
erjo@12228 | 19 cd $src |
erjo@12228 | 20 perl Makefile.PL && make && make DESTDIR=$DESTDIR install |
erjo@12228 | 21 |
erjo@12228 | 22 } |
erjo@12228 | 23 |
erjo@12228 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@12228 | 25 genpkg_rules() |
erjo@12228 | 26 { |
erjo@12228 | 27 mkdir -p $fs/usr |
erjo@12228 | 28 cp -a $_pkg/usr/bin $fs/usr |
erjo@12228 | 29 cp -a $_pkg/usr/lib $fs/usr |
erjo@12228 | 30 } |