wok view puppet/receipt @ rev 25687
updated sc-im (0.8.2 -> 0.8.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 11 14:51:51 2024 +0100 (7 months ago) |
parents | 1805f71c5d9f |
children |
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="https://github.com/puppetlabs/puppet"
11 WGET_URL="https://github.com/puppetlabs/puppet/archive/refs/tags/$VERSION.tar.gz"
13 DEPENDS="ruby facter"
14 BUILD_DEPENDS="ruby-dev facter"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ruby ./install.rb \
28 --destdir=$DESTDIR \
29 --bindir=/usr/bin \
30 --sbindir=/usr/sbin \
31 --mandir=/usr/share/man
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/etc $fs
39 cp -a $install/usr/*bin $fs/usr
40 cp -a $install/usr/lib $fs/usr
41 cd $fs/usr/bin && mv pi puppet-pi
42 }