aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kimchi/APKBUILD
blob: 6330a1422faa79c8c8d6d3d887fbc4f2dea0332a (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=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
	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
ac0cb9517161262109d754a469507dbb81607f52443514b227c3088ea11271ee465f017d6076519b820bc4021fd69eca3484059553072062f18334c69c5fb36a  alpine-specific-kimchi.api.patch
a78c51237233b629c84106cfcdc8398a030889dd8bc641630a8c4e05fdad8d32a9b457c36188e1752a1277ef884437c1765c897bc2a33ca87c07e3bafdfdd5bf  systemd-substitution-with-openrc.patch"