vp-build/srcpkgs/docker-machine-driver-kvm/template

21 lines
864 B
Bash

# Template file for 'docker-machine-driver-kvm'
pkgname=docker-machine-driver-kvm
version=0.10.1
revision=1
wrksrc="docker-machine-kvm-${version}"
build_style=go
go_import_path="github.com/dhiltgen/docker-machine-kvm"
go_package="github.com/dhiltgen/docker-machine-kvm/cmd/docker-machine-driver-kvm"
hostmakedepends="git pkg-config"
makedepends="libvirt-devel"
short_desc="KVM driver for docker-machine"
maintainer="Renato Aguiar <renato@renatoaguiar.net>"
license="Apache-2.0"
homepage="https://github.com/tdilauro/docker-machine-kvm"
distfiles="https://github.com/tdilauro/docker-machine-kvm/archive/v${version}.tar.gz"
checksum=9059d9b2221417fdba1d33505110b0ad833fe8abdc7314842b677e0241d5c719
if [ "$XBPS_TARGET_WORDSIZE" == "32" ]; then
broken="github.com/libvirt/libvirt-go/connect.go:181:77: constant 2147483648 overflows ConnectGetAllDomainStatsFlags"
fi