wok-current annotate perl-http-message/receipt @ rev 18909
Add gnubg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 22 21:29:18 2016 +0100 (2016-02-22) |
parents | 8d9183df9632 |
children | 6e8b1bcb30e2 |
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" |
slaxemulator@11843 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
slaxemulator@11843 | 9 WEB_SITE="http://search.cpan.org/dist/HTTP-Message" |
erjo@11836 | 10 SOURCE="HTTP-Message" |
erjo@11836 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@11843 | 12 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" |
slaxemulator@11843 | 13 |
slaxemulator@11843 | 14 DEPENDS="perl-encode-locale perl-html-parser perl-http-date perl-lwp-mediatypes perl-uri" |
slaxemulator@11843 | 15 BUILD_DEPENDS="$DEPENDS" |
erjo@11836 | 16 |
erjo@11836 | 17 # Rules to configure and make the package. |
erjo@11836 | 18 compile_rules() |
erjo@11836 | 19 { |
erjo@11836 | 20 cd $src |
erjo@11836 | 21 perl Makefile.PL && |
erjo@11836 | 22 make && |
erjo@11836 | 23 make DESTDIR=$DESTDIR install |
erjo@11836 | 24 } |
erjo@11836 | 25 |
erjo@11836 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11836 | 27 genpkg_rules() |
erjo@11836 | 28 { |
slaxemulator@11843 | 29 cp -a $install/* $fs |
erjo@11836 | 30 } |