diff --git a/testing/perl-io-lambda/APKBUILD b/testing/perl-io-lambda/APKBUILD new file mode 100644 index 00000000000..78985c9757a --- /dev/null +++ b/testing/perl-io-lambda/APKBUILD @@ -0,0 +1,38 @@ +# Automatically generated by apkbuild-cpan, template 4 +# Contributor: Celeste +# Maintainer: Celeste +pkgname=perl-io-lambda +pkgver=1.33 +pkgrel=0 +#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan +_pkgreal=IO-Lambda +pkgdesc="Non-blocking I/O as lambda calculus" +url="https://metacpan.org/release/IO-Lambda/" +arch="noarch" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" +depends="perl perl-libwww perl-net-dns perl-sub-name perl-uri" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/K/KA/KARASIK/IO-Lambda-$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=" +12a805368b8750724329e281941a16ba4369e5b29b87a182b14d9f56a5ffa7477e0bd7d62cf20cc114a1b65062949ce8ef6ee83bc4c5d52643e0f4a3d8e18fbe IO-Lambda-1.33.tar.gz +"