mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=perl-sys-virt
|
|
pkgver=10.5.0
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Sys-Virt
|
|
pkgdesc="libvirt Perl API"
|
|
url="https://metacpan.org/release/Sys-Virt/"
|
|
arch="all"
|
|
license="GPL-2.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl"
|
|
makedepends="
|
|
libvirt-dev
|
|
perl-cpan-changes
|
|
perl-dev
|
|
perl-module-build
|
|
perl-test-pod
|
|
perl-test-pod-coverage
|
|
perl-xml-xpath
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/D/DA/DANBERR/Sys-Virt-v$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-v$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="
|
|
7c203b2c905c8bfd0861ccd95fecadc54fdbbfc3ba360398f908143d0139935c3df1539f27468daa5b81f982e611aa66ce92ad13bfea9d3c89f14e76c7b4931b Sys-Virt-v10.5.0.tar.gz
|
|
"
|