wok-next view puppet/receipt @ rev 21417

updated puppet (2.7.19 -> 6.14.0)
author Hans-G?nter Theisgen
date Mon Apr 27 17:07:15 2020 +0100 (2020-04-27)
parents 0c430fcaf2d9
children c575c6308833
line source
1 # SliTaz package receipt v2.
3 PACKAGE="puppet"
4 VERSION="6.14.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="A system for automating system administration tasks"
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="https://puppet.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://downloads.puppetlabs.com/puppet/$TARBALL"
14 BUILD_DEPENDS="ruby-dev ruby-facter"
16 compile_rules()
17 {
18 ruby ./install.rb \
19 --destdir=$install \
20 --bindir=/usr/bin \
21 --sbindir=/usr/sbin \
22 --mandir=/usr/share/man
23 }
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
29 cp -a $install/etc $fs
30 cp -a $install/usr/*bin $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 cd $fs/usr/bin && mv pi puppet-pi
34 DEPENDS="ruby ruby-facter"
35 }