mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-31 14:22:14 +01:00
42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 1
|
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
pkgname=perl-html-parser
|
|
_pkgreal=HTML-Parser
|
|
pkgver=3.71
|
|
pkgrel=3
|
|
pkgdesc="HTML parser class"
|
|
url="http://search.cpan.org/dist/HTML-Parser/"
|
|
arch="all"
|
|
license="GPL PerlArtistic"
|
|
cpandepends="perl-html-tagset"
|
|
cpanmakedepends=" "
|
|
depends="$cpandepends"
|
|
makedepends="perl-dev $cpanmakedepends"
|
|
subpackages="$pkgname-doc"
|
|
source="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$_pkgreal-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
prepare() {
|
|
cd "$_builddir"
|
|
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
|
make && make test
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
md5sums="9128a45893097dfa3bf03301b19c5efe HTML-Parser-3.71.tar.gz"
|
|
sha256sums="be918b3749d3ff93627f72ee4b825683332ecb4c81c67a3a8d72b0435ffbd802 HTML-Parser-3.71.tar.gz"
|
|
sha512sums="98165e22534477a4e06e6c61c10a16ad04f0e4ec79a52e458a322751d66fc3fe0182391ff60dce76076449f29dcfcb613a6e43a839d4fc15c4af5b4e8751036e HTML-Parser-3.71.tar.gz"
|