wok-current view ansible/receipt @ rev 24064

Fix mailsync
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 12 11:07:34 2021 +0000 (2021-06-12)
parents 5e0488ebbbb5
children 3abeffdae80b
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 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py build &&
29 python setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/etc/ansible
36 cp -a $install/* $fs
37 }