aports/main/perl-extutils-cchecker/APKBUILD
Natanael Copa 3af2dbd380 main/perl-<various>: use direct dep to perl-test-simple
perl-test2-suite was merged into perl-test-simple. Depend directly on
the latter to simplify the build time dependency chain.

This is a follow up to commit 74e36977a5 (main/perl-test2-suite:
remove, merged into main/perl-test-simple) and solves a problem when
bootstrapping aports, which will not pull in indirect dependencies in
the build chain.

>>> perl-extutils-cchecker: Analyzing dependencies...
ERROR: unable to select packages:
  .makedepends-perl-extutils-cchecker-20241014.211514:
    masked in: cache
    satisfies: world[.makedepends-perl-extutils-cchecker=20241014.211514]
  perl-test2-suite (no such package):
    required by: .makedepends-perl-extutils-cchecker-20241014.211514[perl-test2-suite]
2024-10-15 10:52:08 +00:00

38 lines
1.1 KiB
Text

# Automatically generated by apkbuild-cpan, template 4
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=perl-extutils-cchecker
pkgver=0.12
pkgrel=1
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=ExtUtils-CChecker
pkgdesc="Perl module configuration-time utilities for using C headers, libraries, or OS features"
url="https://metacpan.org/release/ExtUtils-CChecker/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-module-build"
checkdepends="perl-test-simple"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/ExtUtils-CChecker-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL \
--installdirs=vendor \
--create_packlist=0
./Build
}
check() {
./Build test
}
package() {
./Build install --destdir="$pkgdir"
}
sha512sums="
d0408d88d6c33de799959f42f296d1d05187a12b943a4aee93a79d608a56d972d0f90e6d64712b2722563ba36fc59092cbfb6608d9a39a97b7c1efebefeab979 ExtUtils-CChecker-0.12.tar.gz
"