wok-current annotate perl-libwww/receipt @ rev 20313
linux, openssh: add tcp_stealth patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 18 13:47:33 2018 +0200 (2018-05-18) |
parents | bf939844b92f |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
slaxemulator@7698 | 1 # SliTaz package receipt. |
slaxemulator@7698 | 2 |
slaxemulator@7698 | 3 PACKAGE="perl-libwww" |
erjo@11832 | 4 VERSION="6.04" |
slaxemulator@7698 | 5 CATEGORY="development" |
slaxemulator@7698 | 6 SHORT_DESC="A set of Perl modules which provides a simple and consistent API to the WWW" |
slaxemulator@7698 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
erjo@12229 | 9 DEPENDS="perl-uri perl-html-parser perl-encode-locale perl-file-listing \ |
erjo@12229 | 10 perl-html-parser perl-http-cookies perl-http-daemon perl-http-date \ |
erjo@12229 | 11 perl-http-negotiate perl-http-message perl-lwp-mediatypes perl-mime-base64 \ |
erjo@12229 | 12 perl-net-ftp perl-net-http perl-www-robotrules" |
slaxemulator@7698 | 13 BUILD_DEPENDS="perl $DEPENDS" |
slaxemulator@7698 | 14 SOURCE="libwww-perl" |
slaxemulator@7698 | 15 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@11285 | 16 WEB_SITE="http://search.cpan.org/dist/libwww-perl/" |
slaxemulator@7698 | 17 WGET_URL="http://www.cpan.org/authors/id/G/GA/GAAS/$TARBALL" |
slaxemulator@7698 | 18 |
slaxemulator@7698 | 19 # Rules to configure and make the package. |
slaxemulator@7698 | 20 compile_rules() |
slaxemulator@7698 | 21 { |
slaxemulator@7698 | 22 cd $src |
slaxemulator@11285 | 23 perl Makefile.PL && |
slaxemulator@11285 | 24 make && |
slaxemulator@11285 | 25 make DESTDIR=$DESTDIR install |
slaxemulator@7698 | 26 } |
slaxemulator@7698 | 27 |
slaxemulator@7698 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7698 | 29 genpkg_rules() |
slaxemulator@7698 | 30 { |
slaxemulator@7698 | 31 mkdir -p $fs/usr |
pascal@14702 | 32 cp -a $install/usr/bin $fs/usr |
pascal@14702 | 33 cp -a $install/usr/lib $fs/usr |
slaxemulator@7698 | 34 } |