wok annotate ansible/receipt @ rev 19265

Compress manpages.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 04 10:05:09 2016 +0300 (2016-07-04)
parents 4a2e82b4dfd7
children 11b5e93cb5f2
rev   line source
pascal@16233 1 # SliTaz package receipt.
pascal@16233 2
pascal@16233 3 PACKAGE="ansible"
pascal@16233 4 VERSION="1.5.3"
pascal@16233 5 CATEGORY="network"
pascal@16233 6 SHORT_DESC="a radically simple configuration-management engine."
pascal@16233 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16233 8 LICENSE="GPL3"
pascal@16233 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@16233 10 WEB_SITE="http://www.ansible.com/home"
pascal@16233 11 WGET_URL="https://github.com/ansible/ansible/archive/v$VERSION.tar.gz"
pascal@16233 12 CONFIG_FILES="/etc/ansible"
pascal@16233 13
pascal@16233 14 DEPENDS="python python-jinja2 python-pyyaml ssh"
pascal@16233 15 BUILD_DEPENDS="wget python"
pascal@16233 16
pascal@16233 17 # Rules to configure and make the package.
pascal@16233 18 compile_rules()
pascal@16233 19 {
pascal@16233 20 python setup.py build
pascal@16233 21 python setup.py install --root=$DESTDIR
al@19265 22
al@19265 23 mkdir -p $install/usr/share/man/man1
al@19265 24 cp -a $src/docs/man/man1/*.1 $install/usr/share/man/man1
al@19265 25 cook_compress_manpages
pascal@16233 26 }
pascal@16233 27
pascal@16233 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16233 29 genpkg_rules()
pascal@16233 30 {
pascal@16233 31 mkdir -p $fs/etc/ansible
pascal@16233 32 cp -a $install/* $fs
pascal@16233 33 }