wok-next annotate ansible/receipt @ rev 18684
Add ipkungfu (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 09 21:59:42 2015 +0100 (2015-12-09) |
parents | |
children | f0a0b5091b4a |
rev | line source |
---|---|
pascal@16233 | 1 # SliTaz package receipt. |
pascal@16233 | 2 |
pascal@16233 | 3 PACKAGE="ansible" |
pascal@16233 | 4 VERSION="1.5.3" |
pascal@16233 | 5 CATEGORY="network" |
pascal@16233 | 6 SHORT_DESC="a radically simple configuration-management engine." |
pascal@16233 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16233 | 8 LICENSE="GPL3" |
pascal@16233 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16233 | 10 WEB_SITE="http://www.ansible.com/home" |
pascal@16233 | 11 WGET_URL="https://github.com/ansible/ansible/archive/v$VERSION.tar.gz" |
pascal@16233 | 12 CONFIG_FILES="/etc/ansible" |
pascal@16233 | 13 |
pascal@16233 | 14 DEPENDS="python python-jinja2 python-pyyaml ssh" |
pascal@16233 | 15 BUILD_DEPENDS="wget python" |
pascal@16233 | 16 |
pascal@16233 | 17 # Rules to configure and make the package. |
pascal@16233 | 18 compile_rules() |
pascal@16233 | 19 { |
pascal@16233 | 20 python setup.py build |
pascal@16233 | 21 python setup.py install --root=$DESTDIR |
pascal@16233 | 22 } |
pascal@16233 | 23 |
pascal@16233 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16233 | 25 genpkg_rules() |
pascal@16233 | 26 { |
pascal@16233 | 27 mkdir -p $fs/etc/ansible |
pascal@16233 | 28 cp -a $install/* $fs |
pascal@16233 | 29 } |