summaryrefslogtreecommitdiffstats
path: root/extra/p5-libwww/Pkgfile
diff options
context:
space:
mode:
authorlesibel <lesibel@free.fr>2009-11-02 15:24:04 +0100
committerlesibel <lesibel@free.fr>2009-11-02 15:24:04 +0100
commit336a3698e9469633eebb0df49b398d3ff0b58ffa (patch)
tree99c452250e1b4eadf43f9474587204d68a4c2589 /extra/p5-libwww/Pkgfile
parenta44403584e3a7d5eac115bc4392d6dcba5b8d0ad (diff)
downloadnutyx-pakxe-336a3698e9469633eebb0df49b398d3ff0b58ffa.tar.gz
nutyx-pakxe-336a3698e9469633eebb0df49b398d3ff0b58ffa.tar.bz2
nutyx-pakxe-336a3698e9469633eebb0df49b398d3ff0b58ffa.tar.xz
nutyx-pakxe-336a3698e9469633eebb0df49b398d3ff0b58ffa.zip
Ajout de p5-libwww#5.831-1
Diffstat (limited to 'extra/p5-libwww/Pkgfile')
-rw-r--r--extra/p5-libwww/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/p5-libwww/Pkgfile b/extra/p5-libwww/Pkgfile
new file mode 100644
index 000000000..f739a4d6d
--- /dev/null
+++ b/extra/p5-libwww/Pkgfile
@@ -0,0 +1,24 @@
+# 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
+
+name=p5-libwww
+version=5.831
+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
+}