mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
main/perl-extutils-cchecker: upgrade to 0.12
also, recreate with apkbuild-cpan template 4
This commit is contained in:
parent
5adbe593ab
commit
ae1506e2c4
@ -1,22 +1,27 @@
|
||||
# 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=0
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=ExtUtils-CChecker
|
||||
pkgver=0.11
|
||||
pkgrel=1
|
||||
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-test-exception"
|
||||
makedepends="perl-dev perl-module-build"
|
||||
checkdepends="perl-test-fatal"
|
||||
depends="perl"
|
||||
makedepends="perl-module-build"
|
||||
checkdepends="perl-test2-suite"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz"
|
||||
source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/ExtUtils-CChecker-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
build() {
|
||||
PERL_MM_USE_DEFAULT=1 perl Build.PL INSTALLDIRS=vendor
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
perl Build.PL \
|
||||
--installdirs=vendor \
|
||||
--create_packlist=0
|
||||
./Build
|
||||
}
|
||||
|
||||
@ -25,8 +30,9 @@ check() {
|
||||
}
|
||||
|
||||
package() {
|
||||
./Build install --destdir "$pkgdir" --installdirs vendor
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
./Build install --destdir="$pkgdir"
|
||||
}
|
||||
|
||||
sha512sums="4b638e5082443eafcf2f3586ec8ff20ee62b054f8bc24149dd7a2549f57ca748618f76c057f456eadca4e5c4099071ee2d1c8993a13e2f5ea8924cd92319dd8c ExtUtils-CChecker-0.11.tar.gz"
|
||||
sha512sums="
|
||||
d0408d88d6c33de799959f42f296d1d05187a12b943a4aee93a79d608a56d972d0f90e6d64712b2722563ba36fc59092cbfb6608d9a39a97b7c1efebefeab979 ExtUtils-CChecker-0.12.tar.gz
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user