wok view puppet/receipt @ rev 24464

created recipes for dargui and dargui-lang
author Hans-G?nter Theisgen
date Thu Feb 17 11:06:13 2022 +0100 (2022-02-17)
parents bf4a09ef1d2e
children a6b997a82f39
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 current_version()
17 {
18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 ruby ./install.rb \
27 --destdir=$DESTDIR \
28 --bindir=/usr/bin \
29 --sbindir=/usr/sbin \
30 --mandir=/usr/share/man
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/etc $fs
38 cp -a $install/usr/*bin $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 cd $fs/usr/bin && mv pi puppet-pi
41 }