aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kimchi/APKBUILD
blob: db8c209c03efc6f9ac6495459a12f368c204b28d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=kimchi
pkgver=2.4.0
pkgrel=0
pkgdesc="An HTML5 management interface for KVM"
url="https://github.com/kimchi-project/kimchi"
arch="noarch"
license="APACHE LGPL2.1"
depends="
	python2
	py-ipaddr
	py2-m2crypto
	py2-simplejson
	py-psutil
	py-imaging
	py2-libvirt
	py-cheetah
	py-ethtool
	py2-lxml
	py-websockify
	py2-pillow
	qemu
	py2-configobj
	py2-six
	py2-paramiko
	py2-magic
	libvirt-daemon
	wok
	gingerbase
	py2-netaddr
	py2-libuser
	util-linux
	spice-html5
	websockify
	py-numpy
	"
makedepends="
	automake
	autoconf
	libtool

	gettext-dev
	python2-dev
	py-setuptools
	pyflakes
	libxslt py2-pip
	py-pep8
	py2-mock
	py-cherrypy
	pytest
	py2-requests
	grep
	bash
	bc
	spice-html5
	"
options="!check"
subpackages="$pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/kimchi-project/$pkgname/archive/$pkgver.tar.gz
	systemd-substitution-with-openrc.patch"
builddir="$srcdir/$pkgname-$pkgver"

build()	{
	cd "$builddir"
	sh ./autogen.sh --system
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--with-spice-html5
	make -j1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="d51fa52b420cc6b775225e410fa7f222700d351cccca8eb0fda492bf4973c1808f3bf13d5a01a825b2163124c8925ffba810ec80f0110c9978e4566bdc9b2733  kimchi-2.4.0.tar.gz
a78c51237233b629c84106cfcdc8398a030889dd8bc641630a8c4e05fdad8d32a9b457c36188e1752a1277ef884437c1765c897bc2a33ca87c07e3bafdfdd5bf  systemd-substitution-with-openrc.patch"