wok view ansible/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents
children f0a0b5091b4a
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
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/etc/ansible
28 cp -a $install/* $fs
29 }