aboutsummaryrefslogtreecommitdiffstats
path: root/main/virt-manager/APKBUILD
blob: bdfd00ad1e86d11c8ce93031df6fb12673fded89 (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
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=virt-manager
pkgver=0.9.5
pkgrel=2
pkgdesc="GUI for managing virtual machines"
url="http://virt-manager.et.redhat.com/"
arch="noarch"
license="GPL2+"
depends="gconf gtk-vnc librsvg libvirt libxml2 py-dbus py-gnome-gconf python 
		rarian virtinst vte py-urlgrabber py-gtk-vnc py-spice-gtk
		py-gtk py-libxml2"
depends_dev="intltool"
makedepends="$depends_dev"
install=
subpackages="$pkgname-doc"
source="http://virt-manager.et.redhat.com/download/sources/virt-manager/virt-manager-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--with-default-graphics=spice \
		--without-tui \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="2b622a0f4cd53f83665d9841b5a3cefa  virt-manager-0.9.5.tar.gz"
sha256sums="5d2afb282fb8c4401f9e203dcb41a62746b9a909258d440d508219bc1a33803d  virt-manager-0.9.5.tar.gz"
sha512sums="a1ecf6fe9f3ddacfe43006cfc388d9324c457be91767792119d8a112b190739e3274dfeb7cffd28534b86a33f86079c569d8337eeddaa9d60ed69f82d8a4627f  virt-manager-0.9.5.tar.gz"