wok-next view puppet/receipt @ rev 21383

updated nbd again (3.3 -> 3.20)
author Hans-G?nter Theisgen
date Thu Apr 16 17:34:38 2020 +0100 (2020-04-16)
parents d5aab818505e
children 3b0f581e4ceb
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="https://puppet.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 }