mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 20:16:40 +02:00
40 lines
1.1 KiB
Text
40 lines
1.1 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=perl-sys-virt
|
|
pkgver=11.1.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="
|
|
perl-dev perl-module-build perl-cpan-changes perl-test-pod perl-test-pod-coverage
|
|
perl-xml-xpath perl-module-build libvirt-dev
|
|
"
|
|
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="
|
|
533ae8eda061ac07daaba4adbdcddb48d9d95ca4343fbf9bbcd1baf9e257c1e67f85f8ff0c3440f7a8b61845d670d0cadf0d5dd6c2590683fef4dc7c3f0be289 Sys-Virt-v11.1.0.tar.gz
|
|
"
|