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