2008-04-11 16:56:01 +10:00
|
|
|
# Description: Perl World Wide Web Library.
|
2008-07-14 00:03:32 +10:00
|
|
|
# URL: http://search.cpan.org/~gaas/libwww-perl-5.813/
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2008-04-11 16:56:01 +10:00
|
|
|
# Packager: James Mills, prologic at shortcircuit dot net dot au
|
|
|
|
# Depends on: p5-html-parser p5-uri
|
2006-11-16 03:27:10 +10:00
|
|
|
|
|
|
|
name=p5-lwp
|
2010-10-24 21:30:33 +11:00
|
|
|
version=5.837
|
2006-11-16 03:27:10 +10:00
|
|
|
release=1
|
|
|
|
source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
2008-04-11 16:56:01 +10:00
|
|
|
cd libwww-perl-$version
|
|
|
|
yes | perl Makefile.PL -n
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2008-07-14 00:03:32 +10:00
|
|
|
|
|
|
|
# Remove perlcrap
|
|
|
|
find $PKG -type f \( \
|
|
|
|
-name '.packlist' -or \
|
|
|
|
-name '*.bs' -or \
|
|
|
|
-name 'autosplit.ix' -or \
|
|
|
|
-name 'perllocal.pod' \) -delete
|
|
|
|
|
|
|
|
# Remove empty directories
|
|
|
|
find $PKG -depth -empty -exec rm -rf {} \;
|
2006-11-16 03:27:10 +10:00
|
|
|
}
|