wok view ansible/receipt @ rev 25668

Up git (2.44.0), glances (3.4.0.3), glpi (0.0.12), gmp (6.3.0), gnutls (3.8.3), hdf5 (1.14.3), jpeg (9f)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 15:02:28 2024 +0000 (3 months ago)
parents 3abeffdae80b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ansible"
4 VERSION="2.11.6"
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 }