diff options
author | tnut <thierryn1 at hispeed dot ch> | 2009-12-18 19:25:44 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2009-12-18 19:25:44 +0100 |
commit | 90e631a789c9ab8c386c7d18daf004a5c9313d9a (patch) | |
tree | 2427f68f512bf4c69d47885044a2bc01c2b1eec5 /base/p5-html-parser/Pkgfile | |
parent | 9659ab49a5b7ea2e3efa5a70752e123842079a92 (diff) | |
download | nutyx-extra-90e631a789c9ab8c386c7d18daf004a5c9313d9a.tar.gz nutyx-extra-90e631a789c9ab8c386c7d18daf004a5c9313d9a.tar.bz2 nutyx-extra-90e631a789c9ab8c386c7d18daf004a5c9313d9a.tar.xz nutyx-extra-90e631a789c9ab8c386c7d18daf004a5c9313d9a.zip |
p5-html-parser, déplacé dans base
Diffstat (limited to 'base/p5-html-parser/Pkgfile')
-rw-r--r-- | base/p5-html-parser/Pkgfile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/base/p5-html-parser/Pkgfile b/base/p5-html-parser/Pkgfile new file mode 100644 index 000000000..912f6df09 --- /dev/null +++ b/base/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.64 +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 {} \; +} |