wok-current annotate ansible/receipt @ rev 25444
Up firefox-official (104.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 04 18:56:05 2022 +0000 (2022-09-04) |
parents | 3abeffdae80b |
children |
rev | line source |
---|---|
pascal@16233 | 1 # SliTaz package receipt. |
pascal@16233 | 2 |
pascal@16233 | 3 PACKAGE="ansible" |
Hans-G?nter@25123 | 4 VERSION="2.11.6" |
pascal@16233 | 5 CATEGORY="network" |
hackdorte@20007 | 6 SHORT_DESC="A radically simple configuration-management engine." |
pascal@16233 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16233 | 8 LICENSE="GPL3" |
Hans-G?nter@22481 | 9 WEB_SITE="https://www.ansible.com/" |
Hans-G?nter@22481 | 10 |
pascal@16233 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22481 | 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz" |
pascal@16233 | 13 |
pascal@16233 | 14 DEPENDS="python python-jinja2 python-pyyaml ssh" |
Hans-G?nter@22481 | 15 BUILD_DEPENDS="python python-setuptools" |
Hans-G?nter@22481 | 16 |
Hans-G?nter@22481 | 17 CONFIG_FILES="/etc/ansible" |
pascal@16233 | 18 |
pascal@24414 | 19 # What is the latest version available today? |
pascal@24055 | 20 current_version() |
pascal@24055 | 21 { |
pascal@24414 | 22 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24414 | 23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24055 | 24 } |
pascal@24055 | 25 |
pascal@16233 | 26 # Rules to configure and make the package. |
pascal@16233 | 27 compile_rules() |
pascal@16233 | 28 { |
Hans-G?nter@22481 | 29 python setup.py build && |
pascal@16233 | 30 python setup.py install --root=$DESTDIR |
pascal@16233 | 31 } |
pascal@16233 | 32 |
pascal@16233 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16233 | 34 genpkg_rules() |
pascal@16233 | 35 { |
pascal@16233 | 36 mkdir -p $fs/etc/ansible |
Hans-G?nter@25123 | 37 cp -a $install/* $fs |
pascal@16233 | 38 } |