wok-next annotate puppet/receipt @ rev 13591
move from undigest: 0install adminer blktrace busybox-boot blktrace codiad davmail e4rat fbff flashrom fsthost get-softmodem-driver lessfs libmikmod libmikmod-dev lvmts mikmod navit phpeasyvcs puppet qtractor splashutils systemd tokyocabinet tokyocabinet-dev vmware-view-open-client wine-rt-dev xflux
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 08 09:35:38 2012 +0100 (2012-11-08) |
parents | |
children | bf4a09ef1d2e |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="puppet" |
pascal@13591 | 4 VERSION="2.7.19" |
pascal@13591 | 5 CATEGORY="system-tools" |
pascal@13591 | 6 SHORT_DESC="A system for automating system administration tasks." |
pascal@13591 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@13591 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13591 | 9 WEB_SITE="http://www.puppetlabs.com/" |
pascal@13591 | 10 WGET_URL="http://downloads.puppetlabs.com/puppet/$TARBALL" |
pascal@13591 | 11 |
pascal@13591 | 12 DEPENDS="ruby facter" |
pascal@13591 | 13 BUILD_DEPENDS="ruby-dev facter" |
pascal@13591 | 14 |
pascal@13591 | 15 # Rules to configure and make the package. |
pascal@13591 | 16 compile_rules() |
pascal@13591 | 17 { |
pascal@13591 | 18 cd $src |
pascal@13591 | 19 ruby ./install.rb \ |
pascal@13591 | 20 --destdir=$DESTDIR \ |
pascal@13591 | 21 --bindir=/usr/bin \ |
pascal@13591 | 22 --sbindir=/usr/sbin \ |
pascal@13591 | 23 --mandir=/usr/share/man |
pascal@13591 | 24 } |
pascal@13591 | 25 |
pascal@13591 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 27 genpkg_rules() |
pascal@13591 | 28 { |
pascal@13591 | 29 mkdir -p $fs/usr |
pascal@13591 | 30 cp -a $install/etc $fs |
pascal@13591 | 31 cp -a $install/usr/*bin $fs/usr |
pascal@13591 | 32 cp -a $install/usr/lib $fs/usr |
pascal@13591 | 33 cd $fs/usr/bin && mv pi puppet-pi |
pascal@13591 | 34 } |