wok-next view puppet/receipt @ rev 15437
Up: evas-dev (1.7.9)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Nov 05 20:57:36 2013 +0100 (2013-11-05) |
parents | 4aed2b24febc |
children | efc1e4b02968 |
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 }