wok-next view puppet/receipt @ rev 13643

Up: emotion (1.7.1)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Nov 16 00:11:42 2012 +0100 (2012-11-16)
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 }