summaryrefslogtreecommitdiffstats
path: root/p5-html-parser/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /p5-html-parser/Pkgfile
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'p5-html-parser/Pkgfile')
-rw-r--r--p5-html-parser/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/p5-html-parser/Pkgfile b/p5-html-parser/Pkgfile
new file mode 100644
index 000000000..51b2e13df
--- /dev/null
+++ b/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.64/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=p5-html-parser
+version=3.68
+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 {} \;
+}