wok-next view perl-libwww/receipt @ rev 11285
perl-libwww: Clean up.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Nov 10 14:56:54 2011 +0000 (2011-11-10) |
parents | e41bca1e9fcd |
children | 1952a594ef0e |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-libwww"
4 VERSION="6.02"
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"
9 BUILD_DEPENDS="perl $DEPENDS"
10 SOURCE="libwww-perl"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://search.cpan.org/dist/libwww-perl/"
13 WGET_URL="http://www.cpan.org/authors/id/G/GA/GAAS/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 perl Makefile.PL &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 }