wok-next annotate perl-libwww-perl/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 5fac1a2da249
children 2032afd3d24e
rev   line source
al@20443 1 # SliTaz package receipt v2.
al@19709 2
al@19709 3 PACKAGE="perl-libwww-perl"
al@20947 4 VERSION="6.35"
al@19709 5 CATEGORY="perl"
al@19709 6 SHORT_DESC="The World-Wide Web library for Perl"
al@19709 7 MAINTAINER="al.bobylev@gmail.com"
al@19709 8 LICENSE="GPL"
al@19709 9 WEB_SITE="https://metacpan.org/release/libwww-perl"
al@20884 10 REPOLOGY="perl:libwww-perl"
al@19709 11
al@19709 12 TARBALL="libwww-perl-$VERSION.tar.gz"
al@20820 13 WGET_URL="https://cpan.metacpan.org/authors/id/E/ET/ETHER/$TARBALL"
al@19709 14
al@20443 15 BUILD_DEPENDS="perl-encode-locale perl-file-listing perl-html-parser \
al@19709 16 perl-http-cookies perl-http-daemon perl-http-date perl-http-negotiate \
al@19709 17 perl-http-message perl-lwp-mediatypes perl-net-http perl-try-tiny perl-uri \
al@19709 18 perl-www-robotrules perl-test-fatal perl-test-requiresinternet"
al@19709 19
al@20443 20 compile_rules() {
al@19709 21 perl Makefile.PL &&
al@21020 22 make &&
al@21020 23 make DESTDIR=$install install &&
al@19709 24
al@19709 25 chmod -R u+w $install
al@19709 26 }
al@19709 27
al@20443 28 genpkg_rules() {
al@19709 29 copy @std
al@20443 30 DEPENDS="$BUILD_DEPENDS"
al@19709 31 }