wok-6.x view puppet/receipt @ rev 17781

gambas2: typo (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 14 16:21:36 2015 +0100 (2015-03-14)
parents 4aed2b24febc
children a3c45ab9082e
line source
1 # SliTaz package receipt.
3 PACKAGE="puppet"
4 VERSION="2.7.19"
5 CATEGORY="system-tools"
6 SHORT_DESC="A system for automating system administration tasks."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="Apache"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.puppetlabs.com/"
11 WGET_URL="http://downloads.puppetlabs.com/puppet/$TARBALL"
13 DEPENDS="ruby facter"
14 BUILD_DEPENDS="ruby-dev facter"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ruby ./install.rb \
21 --destdir=$DESTDIR \
22 --bindir=/usr/bin \
23 --sbindir=/usr/sbin \
24 --mandir=/usr/share/man
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/etc $fs
32 cp -a $install/usr/*bin $fs/usr
33 cp -a $install/usr/lib $fs/usr
34 cd $fs/usr/bin && mv pi puppet-pi
35 }