wok-current view perl-libwww/receipt @ rev 12385
Up: libsamplerate to 0.1.8.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 19 22:36:56 2012 +0000 (2012-04-19) |
parents | 8ff7af81a9c4 |
children | 2d12ebd38be4 |
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 DEPENDS="perl-uri perl-html-parser perl-encode-locale perl-file-listing \
9 perl-html-parser perl-http-cookies perl-http-daemon perl-http-date \
10 perl-http-negotiate perl-http-message perl-lwp-mediatypes perl-mime-base64 \
11 perl-net-ftp perl-net-http perl-www-robotrules"
12 BUILD_DEPENDS="perl $DEPENDS"
13 SOURCE="libwww-perl"
14 TARBALL="$SOURCE-$VERSION.tar.gz"
15 WEB_SITE="http://search.cpan.org/dist/libwww-perl/"
16 WGET_URL="http://www.cpan.org/authors/id/G/GA/GAAS/$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 perl Makefile.PL &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib $fs/usr
33 }