blob: b8820e93908fe47c5012c8e72b2a653b00edb6a6 (
plain)
1 # Description: Perl HTML parser class.
2 # URL: http://search.cpan.org/dist/HTML-Parser
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Packager: Matt Housh, jaeger at morpheus dot net
5 # Depends on: p5-html-tagset
6
7 name=p5-html-parser
8 version=3.72
9 release=1
10 source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-$version.tar.gz)
11
12 build() {
13 cd HTML-Parser-$version
14 echo "no" | perl Makefile.PL
15 make OPTIMIZE="$CFLAGS"
16 make DESTDIR=$PKG install
17
18 find $PKG -type f \( \
19 -name '.packlist' -or \
20 -name '*.bs' -or \
21 -name 'autosplit.ix' -or \
22 -name 'perllocal.pod' \) -delete
23
24 find $PKG -depth -empty -exec rm -r {} \;
25 }
|