From 2445b41b383e72b297bd8b2ae11b9e7d8e1fb012 Mon Sep 17 00:00:00 2001 From: tnut Date: Thu, 3 May 2012 21:08:40 +0200 Subject: ajout des modules perl p5-* --- p5-libwww/Pkgfile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 p5-libwww/Pkgfile (limited to 'p5-libwww/Pkgfile') diff --git a/p5-libwww/Pkgfile b/p5-libwww/Pkgfile new file mode 100644 index 000000000..27250883f --- /dev/null +++ b/p5-libwww/Pkgfile @@ -0,0 +1,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.837 +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 +} + -- cgit v1.2.3-70-g09d2