aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kimchi/APKBUILD
blob: e79a355c4b5a773a86bd21d3bf08e1c7c495b95b (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=1
pkgdesc="An HTML5 management interface for KVM"
url="https://github.com/kimchi-project/kimchi"
arch="noarch !s390x"
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
	py-websockify
	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
	py-numpy
	novnc
	"
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="bcf20590d60cf3c82e34cb32e3a65aa7c87426eb721af7098234c5e1ff6fd1766b44d45d4ff4283e7122f370914e58b67fed1ba7b97df0cc26e614a4b66eb2d1  kimchi-2.5.0.tar.gz
402ccb180ae283c38dea44ef03ed563e401d87f741473a6fa4c582845f21f8e37bf506d66ca45e0e5e6982aa4f26a21452ac98d6ca7cffaba68c8d744e47505e  alpine-specific-kimchi.api.patch
a78c51237233b629c84106cfcdc8398a030889dd8bc641630a8c4e05fdad8d32a9b457c36188e1752a1277ef884437c1765c897bc2a33ca87c07e3bafdfdd5bf  systemd-substitution-with-openrc.patch"