wok-6.x annotate ansible/receipt @ rev 19660
Up cookutils (874)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 28 13:03:20 2017 +0200 (2017-01-28) |
parents | f0a0b5091b4a |
children | 03509d491272 |
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" |
al@19275 | 9 WEB_SITE="http://www.ansible.com/home" |
pascal@16233 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
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 |
al@19265 | 22 |
al@19275 | 23 cook_pick_manpages $src/docs/man/man1/*.1 |
pascal@16233 | 24 } |
pascal@16233 | 25 |
pascal@16233 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16233 | 27 genpkg_rules() |
pascal@16233 | 28 { |
pascal@16233 | 29 mkdir -p $fs/etc/ansible |
pascal@16233 | 30 cp -a $install/* $fs |
pascal@16233 | 31 } |