wok annotate ansible/receipt @ rev 24428
updated cmus (2.8.0 -> 2.9.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 12 14:59:37 2022 +0100 (2022-02-12) |
parents | 5ea0ce1cecc0 |
children | 4d9080704d27 |
rev | line source |
---|---|
pascal@16233 | 1 # SliTaz package receipt. |
pascal@16233 | 2 |
pascal@16233 | 3 PACKAGE="ansible" |
pascal@23875 | 4 VERSION="2.9.10" |
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 |
pascal@16233 | 37 cp -a $install/* $fs |
pascal@16233 | 38 } |