aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kimchi/APKBUILD
blob: 3e5fae061aae4ac65ab6be68869fa86aba7637e6 (plain) (blame)
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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=kimchi
pkgver=2.3.0
pkgrel=2
pkgdesc="An HTML5 management interface for KVM "
url="https://kimchi-project.github.io"
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"
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"
subpackages="$pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/kimchi-project/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

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

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

md5sums="7a6cb1ad338ec5d1eb1416075af76b6e  kimchi-2.3.0.tar.gz"
sha256sums="70dc110cacaf82b1662357fe0e8576796ac61b4991d9379ae174d9f5d7bb4bd1  kimchi-2.3.0.tar.gz"
sha512sums="092ab6ad93384f9822497d8c8b09bd4306cb1d3c11ca76be5ec5d91dc6a34bbb3507e45cae423894d94ae569cd00d18621fd0951fae0e36df3a64b2e44ae10ea  kimchi-2.3.0.tar.gz"