2012-07-11 19:43:59 +10:00
|
|
|
# Description: Perl HTML parser class.
|
2019-08-31 11:56:33 +10:00
|
|
|
# URL: https://metacpan.org/release/HTML-Parser
|
2014-11-10 23:25:50 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2006-02-23 15:26:10 +00:00
|
|
|
# Depends on: p5-html-tagset
|
|
|
|
|
|
|
|
name=p5-html-parser
|
2021-03-06 14:03:09 +11:00
|
|
|
version=3.76
|
2021-03-03 01:14:40 +11:00
|
|
|
release=1
|
2021-03-03 01:36:16 +11:00
|
|
|
source=(https://www.cpan.org/modules/by-module/HTML/HTML-Parser-$version.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd HTML-Parser-$version
|
2019-08-31 11:56:33 +10:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2006-02-23 15:26:10 +00:00
|
|
|
make OPTIMIZE="$CFLAGS"
|
|
|
|
make DESTDIR=$PKG install
|
2012-07-11 19:43:59 +10:00
|
|
|
|
|
|
|
find $PKG -type f \( \
|
|
|
|
-name '.packlist' -or \
|
|
|
|
-name '*.bs' -or \
|
|
|
|
-name 'autosplit.ix' -or \
|
|
|
|
-name 'perllocal.pod' \) -delete
|
|
|
|
|
|
|
|
find $PKG -depth -empty -exec rm -r {} \;
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|