wok annotate libwww-perl/receipt @ rev 20471
Up perl (5.14.1); fusioninventory-agent: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 12 18:15:10 2018 +0200 (2018-10-12) |
parents | |
children | 4c03e8b3a67f |
rev | line source |
---|---|
pascal@20471 | 1 # SliTaz package receipt. |
pascal@20471 | 2 |
pascal@20471 | 3 PACKAGE="libwww-perl" |
pascal@20471 | 4 VERSION="6.36" |
pascal@20471 | 5 CATEGORY="development" |
pascal@20471 | 6 SHORT_DESC="a simple and consistent API to the WWW in PERL" |
pascal@20471 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20471 | 8 LICENSE="GPL" |
pascal@20471 | 9 DEPENDS="perl-module-metadata perl-io" |
pascal@20471 | 10 BUILD_DEPENDS="$DEPENDS" |
pascal@20471 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20471 | 12 WEB_SITE="http://cpan.org/" |
pascal@20471 | 13 WGET_URL="https://cpan.metacpan.org/authors/id/E/ET/ETHER/$TARBALL" |
pascal@20471 | 14 |
pascal@20471 | 15 # Rules to configure and make the package. |
pascal@20471 | 16 compile_rules() |
pascal@20471 | 17 { |
pascal@20471 | 18 perl Makefile.PL && |
pascal@20471 | 19 make && |
pascal@20471 | 20 make DESTDIR=$DESTDIR install |
pascal@20471 | 21 } |
pascal@20471 | 22 |
pascal@20471 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20471 | 24 genpkg_rules() |
pascal@20471 | 25 { |
pascal@20471 | 26 mkdir -p $fs/usr |
pascal@20471 | 27 cp -a $install/usr/lib $fs/usr |
pascal@20471 | 28 } |