aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/appliancekit/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/appliancekit/APKBUILD b/testing/appliancekit/APKBUILD
new file mode 100644
index 0000000000..adf1357bce
--- /dev/null
+++ b/testing/appliancekit/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor:
+# Maintainer:
+pkgname=appliancekit
+pkgver=0.131.3
+pkgrel=0
+pkgdesc="ApplianceKit is the provisioning backend used by RapidXen."
+url="http://bitbucket.org/systeminplace/appliancekit/overview"
+license="ISC"
+depends="python"
+makedepends="python-dev"
+install=
+subpackages=
+source="http://bitbucket.org/systeminplace/appliancekit/get/appliancekit-$pkgver.tar.bz2"
+
+# append extra dependencies to -dev subpackage
+# remove if not used.
+# depends_dev="somepackage-dev"
+
+_builddir="$srcdir"/$pkgname
+
+prepare() {
+ cd "$_builddir"
+}
+
+build() {
+ cd "$_builddir"
+ python setup.py build
+}
+
+package() {
+ cd "$_builddir"
+ mkdir -p "$pkgdir"/usr/lib/python2.6/site-packages
+ python setup.py install --root="$pkgdir"
+ echo "/usr/lib/python2.6/site-packages/$pkgname-$pkgver-py2.6.egg" > "$pkgdir"/usr/lib/python2.6/site-packages/$pkgname.pth
+}
+
+md5sums="3bedf6ad90e815a993b7db637607d8ca appliancekit-0.131.3.tar.bz2"