blob: dcbf5349e4b05b937234895410cbf257fabc9c69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Description: Librairie perl pour accéder WWW
# URL: http://search.cpan.org/~rse/lcwa-1.0.0/lib/lwp/lib/LWP.pm
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: p5-crypt-ssleay
# Run on: p5-crypt-ssleay
name=p5-libwww
version=5.834
release=1
source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-$version.tar.gz)
build() {
cd libwww-*
perl Makefile.PL -n
make
make install DESTDIR=$PKG
# Remove perlcrap
find $PKG \
-name .packlist -or \
-name '*.bs' -or \
-name autosplit.ix -or \
-name perllocal.pod -delete
# Remove empty directories
find $PKG -depth -empty -delete
}
|