aboutsummaryrefslogtreecommitdiffstats
path: root/testing/appliancekit/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-10-21 08:29:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-10-21 08:29:08 +0000
commit72608ab33096ea208e1a13c97bef4a147d961119 (patch)
tree5dcf256f09144683aec5094338c158e5ef07b2c3 /testing/appliancekit/APKBUILD
parente1b0b80e6be22f702ac87650b89888760cb266e3 (diff)
downloadaports-72608ab33096ea208e1a13c97bef4a147d961119.tar.bz2
aports-72608ab33096ea208e1a13c97bef4a147d961119.tar.xz
testing/appliancekit: new aport
ApplianceKit is the provisioning backend used by RapidXen. http://bitbucket.org/systeminplace/appliancekit/overview
Diffstat (limited to 'testing/appliancekit/APKBUILD')
-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"