aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kimchi/APKBUILD
blob: 85bd65226c542a8c6563d449819711bd5d74c127 (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
82
83
84
85
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=kimchi
pkgver=2.5.0
pkgrel=2
pkgdesc="An HTML5 management interface for KVM"
url="https://github.com/kimchi-project/kimchi"
arch="noarch !armv7" # Missing py2-pyldap
license="Apache LGPL-2.1"
depends="
	python2
	py-ipaddr
	py2-m2crypto
	py2-simplejson
	py-psutil
	py-imaging
	py2-libvirt
	py-cheetah
	py-ethtool
	py2-lxml
	py2-websockify>=0.8.0-r2
	py2-pillow
	qemu
	qemu-img
	py2-configobj
	py2-six
	py2-paramiko
	py2-magic
	libvirt-daemon
	wok
	gingerbase
	py2-netaddr
	py2-libuser
	util-linux
	spice-html5
	websockify>=0.8.0-r2
	py-numpy
	novnc>=1.0.0-r1
	"
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
	alpine-specific-kimchi.api.patch
	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="dd321db999f58e67b2dd88e58598ba360aaba3a4eb517a19a97bfb12ca27ded2273b1400359c601a8184c845e45ed1dbbcc54e25e65fcc59f5496d1d509fd135  kimchi-2.5.0.tar.gz
402ccb180ae283c38dea44ef03ed563e401d87f741473a6fa4c582845f21f8e37bf506d66ca45e0e5e6982aa4f26a21452ac98d6ca7cffaba68c8d744e47505e  alpine-specific-kimchi.api.patch
a78c51237233b629c84106cfcdc8398a030889dd8bc641630a8c4e05fdad8d32a9b457c36188e1752a1277ef884437c1765c897bc2a33ca87c07e3bafdfdd5bf  systemd-substitution-with-openrc.patch"