wok view puppet/receipt @ rev 17386
cplay, cvs: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 27 12:43:05 2014 +0100 (2014-11-27) |
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 }