summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/p5-html-parser/.footprint28
-rw-r--r--extra/p5-html-parser/.md5sum1
-rw-r--r--extra/p5-html-parser/Pkgfile26
3 files changed, 55 insertions, 0 deletions
diff --git a/extra/p5-html-parser/.footprint b/extra/p5-html-parser/.footprint
new file mode 100644
index 000000000..f2c44428b
--- /dev/null
+++ b/extra/p5-html-parser/.footprint
@@ -0,0 +1,28 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/perl5/
+drwxr-xr-x root/root usr/lib/perl5/site_perl/
+drwxr-xr-x root/root usr/lib/perl5/site_perl/5.10.0/
+drwxr-xr-x root/root usr/lib/perl5/site_perl/5.10.0/i686-linux/
+drwxr-xr-x root/root usr/lib/perl5/site_perl/5.10.0/i686-linux/HTML/
+-r--r--r-- root/root usr/lib/perl5/site_perl/5.10.0/i686-linux/HTML/Entities.pm
+-r--r--r-- root/root usr/lib/perl5/site_perl/5.10.0/i686-linux/HTML/Filter.pm
+-r--r--r-- root/root usr/lib/perl5/site_perl/5.10.0/i686-linux/HTML/HeadParser.pm
+-r--r--r-- root/root usr/lib/perl5/site_perl/5.10.0/i686-linux/HTML/LinkExtor.pm
+-r--r--r-- root/root usr/lib/perl5/site_perl/5.10.0/i686-linux/HTML/Parser.pm
+-r--r--r-- root/root usr/lib/perl5/site_perl/5.10.0/i686-linux/HTML/PullParser.pm
+-r--r--r-- root/root usr/lib/perl5/site_perl/5.10.0/i686-linux/HTML/TokeParser.pm
+drwxr-xr-x root/root usr/lib/perl5/site_perl/5.10.0/i686-linux/auto/
+drwxr-xr-x root/root usr/lib/perl5/site_perl/5.10.0/i686-linux/auto/HTML/
+drwxr-xr-x root/root usr/lib/perl5/site_perl/5.10.0/i686-linux/auto/HTML/Parser/
+-r-xr-xr-x root/root usr/lib/perl5/site_perl/5.10.0/i686-linux/auto/HTML/Parser/Parser.so
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man3/
+-r--r--r-- root/root usr/share/man/man3/HTML::Entities.3.gz
+-r--r--r-- root/root usr/share/man/man3/HTML::Filter.3.gz
+-r--r--r-- root/root usr/share/man/man3/HTML::HeadParser.3.gz
+-r--r--r-- root/root usr/share/man/man3/HTML::LinkExtor.3.gz
+-r--r--r-- root/root usr/share/man/man3/HTML::Parser.3.gz
+-r--r--r-- root/root usr/share/man/man3/HTML::PullParser.3.gz
+-r--r--r-- root/root usr/share/man/man3/HTML::TokeParser.3.gz
diff --git a/extra/p5-html-parser/.md5sum b/extra/p5-html-parser/.md5sum
new file mode 100644
index 000000000..b7deeff12
--- /dev/null
+++ b/extra/p5-html-parser/.md5sum
@@ -0,0 +1 @@
+190950f442ff4a8e59e637714105a01b HTML-Parser-3.59.tar.gz
diff --git a/extra/p5-html-parser/Pkgfile b/extra/p5-html-parser/Pkgfile
new file mode 100644
index 000000000..bdac682d9
--- /dev/null
+++ b/extra/p5-html-parser/Pkgfile
@@ -0,0 +1,26 @@
+# Description: Perl extension parse and extract info from html
+# URL: http://search.cpan.org/~gaas/HTML-Parser-3.56/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=p5-html-parser
+version=3.59
+release=1
+source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-$version.tar.gz)
+
+
+build() {
+ cd HTML-Parser-$version
+ perl Makefile.PL
+ make
+ make install DESTDIR=$PKG
+ # Remove perlcrap
+ find $PKG \
+ -name .packlist -or \
+ -name '*.bs' -or \
+ -name autosplit.ix -or \
+ -name perllocal.pod | xargs rm
+ # Remove empty directories
+ find $PKG -depth -empty -exec rm -rf {} \;
+}