diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-25 06:11:29 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-25 06:11:29 -0500 |
commit | 56724ddfe0a9bfee4c547159c8e8ebebadb6655a (patch) | |
tree | 64cc3fb3bcc88ce4b4c2addfc4a1fd4160975391 /system/perl-test-pod/APKBUILD | |
parent | 9ba7cee8a94a9ef8d1e87949bfdbdc4458d6b538 (diff) | |
download | packages-56724ddfe0a9bfee4c547159c8e8ebebadb6655a.tar.gz packages-56724ddfe0a9bfee4c547159c8e8ebebadb6655a.tar.bz2 packages-56724ddfe0a9bfee4c547159c8e8ebebadb6655a.tar.xz packages-56724ddfe0a9bfee4c547159c8e8ebebadb6655a.zip |
system/perl-test-pod: pull in for xmlto
Diffstat (limited to 'system/perl-test-pod/APKBUILD')
-rw-r--r-- | system/perl-test-pod/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
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 <rnalrd@alpinelinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +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" |