wok-next view puppet/receipt @ rev 13942
Up cookutils (3.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 27 09:55:53 2013 +0100 (2013-01-27) |
parents | |
children | bf4a09ef1d2e |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.puppetlabs.com/"
10 WGET_URL="http://downloads.puppetlabs.com/puppet/$TARBALL"
12 DEPENDS="ruby facter"
13 BUILD_DEPENDS="ruby-dev facter"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ruby ./install.rb \
20 --destdir=$DESTDIR \
21 --bindir=/usr/bin \
22 --sbindir=/usr/sbin \
23 --mandir=/usr/share/man
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/etc $fs
31 cp -a $install/usr/*bin $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 cd $fs/usr/bin && mv pi puppet-pi
34 }