wok-next view puppet/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 0c430fcaf2d9
line source
1 # SliTaz package receipt v2.
3 PACKAGE="puppet"
4 VERSION="2.7.19"
5 CATEGORY="system-tools"
6 SHORT_DESC="A system for automating system administration tasks"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="http://www.puppetlabs.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://downloads.puppetlabs.com/puppet/$TARBALL"
14 BUILD_DEPENDS="ruby-dev ruby-facter"
16 compile_rules() {
17 ruby ./install.rb \
18 --destdir=$install \
19 --bindir=/usr/bin \
20 --sbindir=/usr/sbin \
21 --mandir=/usr/share/man
22 }
24 genpkg_rules() {
25 mkdir -p $fs/usr
26 cp -a $install/etc $fs
27 cp -a $install/usr/*bin $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 cd $fs/usr/bin && mv pi puppet-pi
30 DEPENDS="ruby ruby-facter"
31 }