mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
testing/perl-test-describeme: new aport
https://metacpan.org/release/Test-DescribeMe/ Tell test runners what kind of test you are Needed as checkdepends for perl-dns-unbound
This commit is contained in:
parent
553cb92754
commit
c9e00a697b
38
testing/perl-test-describeme/APKBUILD
Normal file
38
testing/perl-test-describeme/APKBUILD
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
# Automatically generated by apkbuild-cpan, template 4
|
||||||
|
# Contributor: Celeste <cielesti@protonmail.com>
|
||||||
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||||
|
pkgname=perl-test-describeme
|
||||||
|
pkgver=0.004
|
||||||
|
pkgrel=0
|
||||||
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||||
|
_pkgreal=Test-DescribeMe
|
||||||
|
pkgdesc="Tell test runners what kind of test you are"
|
||||||
|
url="https://metacpan.org/release/Test-DescribeMe/"
|
||||||
|
arch="noarch"
|
||||||
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||||
|
depends="perl perl-test-settings"
|
||||||
|
subpackages="$pkgname-doc"
|
||||||
|
source="https://cpan.metacpan.org/authors/id/W/WO/WOLFSAGE/Test-DescribeMe-$pkgver.tar.gz"
|
||||||
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||||
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
||||||
|
INSTALLDIRS=vendor \
|
||||||
|
NO_PACKLIST=1 \
|
||||||
|
NO_PERLLOCAL=1
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||||
|
make test
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
cfbdf4497393f49139f78699d47f9ebcafbb1021b1c8281633623c8c65bb97a77e8b21d6cb6eb2ea145fd3cfa5a1e1172b1b86f0f40f21b5cec970512347fb37 Test-DescribeMe-0.004.tar.gz
|
||||||
|
"
|
Loading…
Reference in New Issue
Block a user