mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-28 12:02:04 +01:00
testing/perl-test-allmodules: new aport
This commit is contained in:
parent
5026a5c7d7
commit
16c0ca59e2
34
testing/perl-test-allmodules/APKBUILD
Normal file
34
testing/perl-test-allmodules/APKBUILD
Normal file
@ -0,0 +1,34 @@
|
||||
# Automatically generated by apkbuild-cpan, template 3
|
||||
# Contributor: Timothy Legge <timlegge@gmail.com>
|
||||
# Maintainer: Timothy Legge <timlegge@gmail.com>
|
||||
pkgname=perl-test-allmodules
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=Test-AllModules
|
||||
pkgver=0.17
|
||||
pkgrel=0
|
||||
pkgdesc="do some tests for modules in search path"
|
||||
url="https://metacpan.org/release/Test-AllModules/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="perl perl-module-pluggable perl-test-sharedfork"
|
||||
makedepends="perl-dev perl-module-build perl-module-build"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/B/BA/BAYASHI/Test-AllModules-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
build() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
perl Build.PL --installdirs=vendor
|
||||
./Build
|
||||
}
|
||||
|
||||
check() {
|
||||
./Build test
|
||||
}
|
||||
|
||||
package() {
|
||||
./Build install --destdir="$pkgdir"
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
|
||||
sha512sums="ed753967ec30f5b1742622228aa219aa1de073fe8956e974d7ba3eb7eeeaedf2989de8159e94eef6e4659b63521e1dd57be5159fa4309aa26e739c1b85ae4b90 Test-AllModules-0.17.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user