wok-next annotate ansible/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
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"
al@21020 6 SHORT_DESC="Radically simple configuration-management engine"
pascal@16233 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16233 8 LICENSE="GPL3"
al@21020 9 WEB_SITE="https://www.ansible.com/"
al@21048 10 HOST_ARCH="any"
al@21020 11
pascal@16233 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@16233 13 WGET_URL="https://github.com/ansible/ansible/archive/v$VERSION.tar.gz"
pascal@16233 14
al@21020 15 BUILD_DEPENDS="python"
pascal@16233 16
al@21020 17 compile_rules() {
al@21020 18 python -B setup.py build &&
al@21020 19 python -B setup.py install --root=$install || return 1
al@19265 20
al@21048 21 find $install -type f -exec chmod g-w '{}' \; # 664->644, 775->755
al@21048 22
al@19275 23 cook_pick_manpages $src/docs/man/man1/*.1
pascal@16233 24 }
pascal@16233 25
al@21020 26 genpkg_rules() {
pascal@16233 27 mkdir -p $fs/etc/ansible
pascal@16233 28 cp -a $install/* $fs
al@21020 29 DEPENDS="python python-jinja2 python-pyyaml ssh"
al@21020 30 CONFIG_FILES="/etc/ansible"
pascal@16233 31 }