wok view puppet/receipt @ rev 13659
Add pcsc-tools (PC/SC Architecture smartcard tools)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Nov 21 20:46:23 2012 +0000 (2012-11-21) |
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 }