wok-current rev 16233
Add ansible
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 01 16:48:18 2014 +0000 (2014-04-01) |
parents | c00427f1c134 |
children | 23646792a9d6 |
files | ansible/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ansible/receipt Tue Apr 01 16:48:18 2014 +0000 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="ansible" 1.7 +VERSION="1.5.3" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="a radically simple configuration-management engine." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL3" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.ansible.com/home" 1.14 +WGET_URL="https://github.com/ansible/ansible/archive/v$VERSION.tar.gz" 1.15 +CONFIG_FILES="/etc/ansible" 1.16 + 1.17 +DEPENDS="python python-jinja2 python-pyyaml ssh" 1.18 +BUILD_DEPENDS="wget python" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + python setup.py build 1.24 + python setup.py install --root=$DESTDIR 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/etc/ansible 1.31 + cp -a $install/* $fs 1.32 +}