summaryrefslogtreecommitdiff
path: root/p5-libwww/Pkgfile
diff options
context:
space:
mode:
authorMikhail Kolesnik <mike@openbunker.org>2008-12-20 00:03:48 +0200
committerMikhail Kolesnik <mike@openbunker.org>2008-12-20 00:03:48 +0200
commit78efbdc0afc4a6ab5b6d16d26d71cc9df139a6f9 (patch)
tree2bf3ca1b2cc55c30fb05cc1bedbbc265de626096 /p5-libwww/Pkgfile
parent61529b258822c5647ed53b82cf36150d3b02850e (diff)
downloadcontrib-78efbdc0afc4a6ab5b6d16d26d71cc9df139a6f9.tar.gz
contrib-78efbdc0afc4a6ab5b6d16d26d71cc9df139a6f9.tar.xz
p5-libwww: new port
Diffstat (limited to 'p5-libwww/Pkgfile')
-rw-r--r--p5-libwww/Pkgfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/p5-libwww/Pkgfile b/p5-libwww/Pkgfile
new file mode 100644
index 000000000..a305bd726
--- /dev/null
+++ b/p5-libwww/Pkgfile
@@ -0,0 +1,20 @@
+# Description: Perl API to the World-Wide Web
+# URL: http://search.cpan.org/~gaas/libwww-perl/
+# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
+# Packager: Younes Hafri, ycrux at club-internet dot fr
+# Depends on: p5-uri p5-html-parser
+
+name=p5-libwww
+version=5.822
+release=2
+source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-$version.tar.gz)
+
+build() {
+ cd libwww-perl-$version
+ perl Makefile.PL
+ make OPTIMIZE="$CFLAGS"
+ make DESTDIR=$PKG install
+ find $PKG -name .packlist -exec rm {} \;
+ find $PKG -name perllocal.pod -exec rm {} \;
+ find $PKG -depth -type d -empty -exec rm -rf {} \;
+}

Generated by cgit