aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/virtinst/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/main/virtinst/APKBUILD b/main/virtinst/APKBUILD
new file mode 100644
index 0000000000..4e12a48e5f
--- /dev/null
+++ b/main/virtinst/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor:
+# Maintainer: Leonardo Arena <rnalrd@gmail.com>
+pkgname=virtinst
+pkgver=0.500.6
+pkgrel=0
+pkgdesc="CLI tool for provision operating systems into virtual machines"
+arch="noarch"
+url="http://virt-manager.et.redhat.com"
+license="GPL"
+depends="libvirt python"
+makedepends="gettext-dev libvirt-dev python-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"
+ return 0
+}
+
+build() {
+ cd "$_builddir"
+ python ./setup.py build
+}
+
+package() {
+ cd "$_builddir"
+ python ./setup.py install --root=$pkgdir
+}
+
+md5sums="5cad9ee9b8f64d700b3d1bbe644a58d3 virtinst-0.500.6.tar.gz"