diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2011-08-16 07:10:27 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2011-08-16 10:01:48 +0000 |
commit | 25cee6fa7b431c9b901d7a6a61979a7913b28da5 (patch) | |
tree | 3e5f0e51244375d4989e8a99cc247f26bac7fbb2 /testing/virt-manager/APKBUILD | |
parent | ecc303f2ed9fb9d33dd14e1f3ec76095c1392b24 (diff) | |
download | aports-25cee6fa7b431c9b901d7a6a61979a7913b28da5.tar.bz2 aports-25cee6fa7b431c9b901d7a6a61979a7913b28da5.tar.xz |
testing/virt-manager: new aport
GUI for managing virtual machines
Diffstat (limited to 'testing/virt-manager/APKBUILD')
-rw-r--r-- | testing/virt-manager/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/virt-manager/APKBUILD b/testing/virt-manager/APKBUILD new file mode 100644 index 0000000000..30aff46679 --- /dev/null +++ b/testing/virt-manager/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> +pkgname=virt-manager +pkgver=0.9.0 +pkgrel=0 +pkgdesc="GUI for managing virtual machines" +url="http://virt-manager.et.redhat.com/" +arch="noarch" +license="GPL" +depends="dbus gconf libvirt python virtinst" +depends_dev="intltool" +makedepends="$depends_dev" +install= +subpackages="$pkgname-doc" +source="http://virt-manager.et.redhat.com/download/sources/$pkgname/$pkgname-$pkgver.tar.gz" + + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + # apply patches here +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install + + # remove the 2 lines below (and this) if there is no init.d script + # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname + # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname +} + +md5sums="a10331b467f92f4134a39bf636e04adc virt-manager-0.9.0.tar.gz" |