blob: 404c1294bae4499fb7c8933a518623867ef56ef5 (
plain)
1 # Description: Perl WWW Library
2 # URL: http://search.cpan.org/~rse/lcwa-1.0.0/lib/lwp/lib/LWP.pm
3 # Maintainer: James Mills, prologic at shortcircuit dot net dot au
4 # Packager: Han Boetes han mijncomputer nl
5 #
6 # Depends on: p5-uri, p5-html-parser
7
8 name=p5-libwww
9 version=5.805
10 release=1
11 source=(ftp://ftp.demon.co.uk/pub/CPAN/modules/by-module/LWP/libwww-perl-$version.tar.gz)
12
13 build() {
14 cd libwww-*
15 perl Makefile.PL -n
16 make
17 make install DESTDIR=$PKG
18
19 # Remove perlcrap
20 find $PKG \
21 -name .packlist -or \
22 -name '*.bs' -or \
23 -name autosplit.ix -or \
24 -name perllocal.pod -delete
25
26 # Remove empty directories
27 find $PKG -depth -empty -delete
28
29 chown -R root:root $PKG
30 }
|