diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-26 04:17:47 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-26 04:17:47 -0500 |
commit | bdeb79c9ef857b337295341edf3ddaf452f7d43a (patch) | |
tree | 5123a85e2640f4ab63a15ff4c74a2b0ae64d9961 /system/perl-html-tagset | |
parent | c108b3bc6b9b67afff24f73055987fe82a8a6413 (diff) | |
download | packages-bdeb79c9ef857b337295341edf3ddaf452f7d43a.tar.gz packages-bdeb79c9ef857b337295341edf3ddaf452f7d43a.tar.bz2 packages-bdeb79c9ef857b337295341edf3ddaf452f7d43a.tar.xz packages-bdeb79c9ef857b337295341edf3ddaf452f7d43a.zip |
system/perl-html-tagset: add for lwp
Diffstat (limited to 'system/perl-html-tagset')
-rw-r--r-- | system/perl-html-tagset/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/system/perl-html-tagset/APKBUILD b/system/perl-html-tagset/APKBUILD new file mode 100644 index 000000000..607b5cc68 --- /dev/null +++ b/system/perl-html-tagset/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-html-tagset +_pkgreal=HTML-Tagset +pkgver=3.20 +pkgrel=2 +pkgdesc="Useful data tables for parsing HTML" +url="http://search.cpan.org/dist/HTML-Tagset/" +arch="noarch" +license="GPL-2.0-only OR Artistic-1.0-Perl" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$builddir" + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="b53c099a96b493c3d03c51fcf3d58dd3b830069583f2d07477175ea234c43e91a0b380c82a71126f971faf2768e832af34967d08d899db7653d65613d6530072 HTML-Tagset-3.20.tar.gz" |