From 56724ddfe0a9bfee4c547159c8e8ebebadb6655a Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 25 Jun 2018 06:11:29 -0500 Subject: system/perl-test-pod: pull in for xmlto --- system/perl-test-pod/APKBUILD | 44 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 system/perl-test-pod/APKBUILD (limited to 'system/perl-test-pod/APKBUILD') diff --git a/system/perl-test-pod/APKBUILD b/system/perl-test-pod/APKBUILD new file mode 100644 index 000000000..a2ce5e98b --- /dev/null +++ b/system/perl-test-pod/APKBUILD @@ -0,0 +1,44 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Leonardo Arena +# Maintainer: A. Wilcox +pkgname=perl-test-pod +_pkgreal=Test-Pod +pkgver=1.51 +pkgrel=2 +pkgdesc="Check for POD errors in files" +url="http://search.cpan.org/dist/Test-Pod/" +arch="noarch" +license="GPL-2.0-only AND Artistic-1.0-Perl" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_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 +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="bf4e8b2a71a79a5edec86991c7cbbcc929fa4f2eb403b411cd678fbdf89fe30c198e00a29db80ca9c98fe6655167c0a77e7f166f073a18711db3b1f3e5cd3c15 Test-Pod-1.51.tar.gz" -- cgit v1.2.3-70-g09d2