wok view ansible/receipt @ rev 24560

updated fossil (2.12.1 -> 2.18)
author Hans-G?nter Theisgen
date Fri Feb 25 16:12:40 2022 +0100 (2022-02-25)
parents 5ea0ce1cecc0
children 4d9080704d27
line source
1 # SliTaz package receipt.
3 PACKAGE="ansible"
4 VERSION="2.9.10"
5 CATEGORY="network"
6 SHORT_DESC="A radically simple configuration-management engine."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.ansible.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS="python python-jinja2 python-pyyaml ssh"
15 BUILD_DEPENDS="python python-setuptools"
17 CONFIG_FILES="/etc/ansible"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python setup.py build &&
30 python setup.py install --root=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/etc/ansible
37 cp -a $install/* $fs
38 }