summaryrefslogtreecommitdiffstats
path: root/main/ansible
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2013-06-06 15:58:47 +0200
committerBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2013-06-06 16:01:01 +0200
commitd67e87cdc8003b998d3ce3f65d0c69f88c676c9e (patch)
tree9f18f98e715cfd69a5d92d8b31b577cc5f8665af /main/ansible
parent0aec3382ed322329f16405587d87131018613785 (diff)
downloadaports-d67e87cdc8003b998d3ce3f65d0c69f88c676c9e.tar.bz2
aports-d67e87cdc8003b998d3ce3f65d0c69f88c676c9e.tar.xz
main/ansible: add apk-tools support
Diffstat (limited to 'main/ansible')
-rw-r--r--main/ansible/APKBUILD43
1 files changed, 25 insertions, 18 deletions
diff --git a/main/ansible/APKBUILD b/main/ansible/APKBUILD
index cb0ea3a76..35e8578d1 100644
--- a/main/ansible/APKBUILD
+++ b/main/ansible/APKBUILD
@@ -1,37 +1,44 @@
-# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+
pkgname=ansible
pkgver=1.1
-pkgrel=0
+_apkver=1
+pkgrel=1
pkgdesc='Configuration-management, deployment, task-execution, and multinode orchestration framework'
url='http://ansible.cc'
arch='noarch'
license='GPL3'
depends='python py-yaml py-paramiko py-jinja2'
-makedepends="python-dev"
+makedepends='python-dev'
subpackages="$pkgname-doc"
-source="http://ansible.cc/releases/$pkgname-$pkgver.tar.gz"
+source="http://ansible.cc/releases/$pkgname-$pkgver.tar.gz
+ http://git.alpinelinux.org/cgit/bpiotrowski/ansible-apk/snapshot/ansible-apk-$_apkver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
- python setup.py build || return 1
+ cd "$_builddir"
+ python setup.py build || return 1
}
package() {
- cd "$_builddir"
- python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
- install -d $pkgdir/usr/share/ansible || return 1
- cp ./library/* $pkgdir/usr/share/ansible/ || return 1
+ install -d $pkgdir/usr/share/ansible || return 1
+ cp ./library/* $pkgdir/usr/share/ansible/ || return 1
+ install -m444 "$srcdir"/ansible-apk-$_apkver/library/apk \
+ $pkgdir/usr/share/ansible/ || return 1
- _manpages="$pkgname-playbook.1 $pkgname.1"
- for _manpage in $_manpages; do
- install -Dm644 "$_builddir"/docs/man/man1/$_manpage \
- "$pkgdir"/usr/share/man/man1/$_manpage || return 1
- done
+ _manpages="$pkgname-playbook.1 $pkgname.1"
+ for _manpage in $_manpages; do
+ install -Dm644 "$_builddir"/docs/man/man1/$_manpage \
+ "$pkgdir"/usr/share/man/man1/$_manpage || return 1
+ done
}
-md5sums="29059e7738212392d7c23db8c8f91019 ansible-1.1.tar.gz"
-sha256sums="5e7d2a46715484abcd2f59f846fb12699d64b420400cca4224ae6ec358f2d0a1 ansible-1.1.tar.gz"
-sha512sums="a32f32201782cf763fa442d12b778aaef41fe3d9e0a06864e8fa4b13e0a0bad66105d59b71b4e9981b4b080f4b79479bde33f3afb9e98bc4e33271453451300c ansible-1.1.tar.gz"
+md5sums="29059e7738212392d7c23db8c8f91019 ansible-1.1.tar.gz
+a748a4a0be15506bddca23df85d75e8a ansible-apk-1.tar.bz2"
+sha256sums="5e7d2a46715484abcd2f59f846fb12699d64b420400cca4224ae6ec358f2d0a1 ansible-1.1.tar.gz
+2c19127279266906d5caa4ae0097ce36eac32c275e15d7722ea640b60b59356c ansible-apk-1.tar.bz2"
+sha512sums="a32f32201782cf763fa442d12b778aaef41fe3d9e0a06864e8fa4b13e0a0bad66105d59b71b4e9981b4b080f4b79479bde33f3afb9e98bc4e33271453451300c ansible-1.1.tar.gz
+315f0f082d942915fe0975fc7ce898ce540f956ac23c7627e52f44e8803c26511a2b2e415f7849cab7980e11795b41737ba760c8a28fdd988053768fc09983f8 ansible-apk-1.tar.bz2"