diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-11 22:47:15 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-11 22:47:15 +0200 |
commit | 21d694e5d445529cc1324efc38daf65ef6a7558c (patch) | |
tree | cce7f58dbe22fb3c9ea8159751561a12af9c0326 /extra/p5-html-parser/Pkgfile | |
parent | ea74abda52c1dd380152c616e8f0abdef820bb04 (diff) | |
download | nutyx-pakxe-21d694e5d445529cc1324efc38daf65ef6a7558c.tar.gz nutyx-pakxe-21d694e5d445529cc1324efc38daf65ef6a7558c.tar.bz2 nutyx-pakxe-21d694e5d445529cc1324efc38daf65ef6a7558c.tar.xz nutyx-pakxe-21d694e5d445529cc1324efc38daf65ef6a7558c.zip |
Ajout de p5-html-parser#3.61-1
Diffstat (limited to 'extra/p5-html-parser/Pkgfile')
-rw-r--r-- | extra/p5-html-parser/Pkgfile | 26 |
1 files changed, 26 insertions, 0 deletions
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 {} \; +} |