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

virtualbox-ose:try to fix + up to 4.2.6
author ernia <monghitri@aruba.it>
date Thu Feb 14 20:48:38 2013 +0000 (2013-02-14)
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 }