wok-next view perl-libwww/receipt @ rev 16181

ARM: add mc :-) Thanks for the update Alexandet
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 30 17:58:33 2014 +0200 (2014-03-30)
parents bf939844b92f
children
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-libwww"
4 VERSION="6.04"
5 CATEGORY="development"
6 SHORT_DESC="A set of Perl modules which provides a simple and consistent API to the WWW"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL"
9 DEPENDS="perl-uri perl-html-parser perl-encode-locale perl-file-listing \
10 perl-html-parser perl-http-cookies perl-http-daemon perl-http-date \
11 perl-http-negotiate perl-http-message perl-lwp-mediatypes perl-mime-base64 \
12 perl-net-ftp perl-net-http perl-www-robotrules"
13 BUILD_DEPENDS="perl $DEPENDS"
14 SOURCE="libwww-perl"
15 TARBALL="$SOURCE-$VERSION.tar.gz"
16 WEB_SITE="http://search.cpan.org/dist/libwww-perl/"
17 WGET_URL="http://www.cpan.org/authors/id/G/GA/GAAS/$TARBALL"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 perl Makefile.PL &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib $fs/usr
34 }