# HG changeset patch # User Pascal Bellard # Date 1396370898 0 # Node ID 4a2e82b4dfd701ef74f4fa5408ffe37c25c8fe00 # Parent c00427f1c1344573f3ea1fff2ffbd330efc36b4f Add ansible diff -r c00427f1c134 -r 4a2e82b4dfd7 ansible/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ansible/receipt Tue Apr 01 16:48:18 2014 +0000 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="ansible" +VERSION="1.5.3" +CATEGORY="network" +SHORT_DESC="a radically simple configuration-management engine." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL3" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.ansible.com/home" +WGET_URL="https://github.com/ansible/ansible/archive/v$VERSION.tar.gz" +CONFIG_FILES="/etc/ansible" + +DEPENDS="python python-jinja2 python-pyyaml ssh" +BUILD_DEPENDS="wget python" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py build + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/etc/ansible + cp -a $install/* $fs +}