blob: b19af7fe54e7e7a44286f859df1f9d782b0e248c (
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
|
# 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"
arch="x86 x86_64"
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"
|