wok-next annotate perl-http-message/receipt @ rev 21051
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 30 01:34:53 2018 +0200 (2018-11-30) |
parents | 4e6503d7a19f |
children | f17e1f86f546 |
rev | line source |
---|---|
al@20443 | 1 # SliTaz package receipt v2. |
erjo@11836 | 2 |
erjo@11836 | 3 PACKAGE="perl-http-message" |
al@20820 | 4 VERSION="6.18" |
al@19709 | 5 CATEGORY="perl" |
al@19709 | 6 SHORT_DESC="HTTP::Message - HTTP style message" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
al@19709 | 9 WEB_SITE="https://metacpan.org/release/HTTP-Message" |
al@20884 | 10 REPOLOGY="perl:http-message" |
slaxemulator@11843 | 11 |
al@19709 | 12 TARBALL="HTTP-Message-$VERSION.tar.gz" |
al@20820 | 13 WGET_URL="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/$TARBALL" |
al@19709 | 14 |
al@20443 | 15 BUILD_DEPENDS="perl-encode-locale perl-http-date perl-io-html \ |
al@20443 | 16 perl-lwp-mediatypes perl-uri" |
erjo@11836 | 17 |
al@20443 | 18 compile_rules() { |
erjo@11836 | 19 perl Makefile.PL && |
al@21020 | 20 make && |
al@21020 | 21 make DESTDIR=$install install && |
al@19709 | 22 |
al@19709 | 23 chmod -R u+w $install |
erjo@11836 | 24 } |
erjo@11836 | 25 |
al@20443 | 26 genpkg_rules() { |
al@19709 | 27 copy @std |
al@20443 | 28 DEPENDS="$BUILD_DEPENDS" |
erjo@11836 | 29 } |