wok annotate puppet/receipt @ rev 25793
reverted version 4.14.1 to 4.12.0 for xfconf packages
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 15:16:12 2024 +0100 (7 days ago) |
parents | 1805f71c5d9f |
children |
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@15376 | 8 LICENSE="Apache" |
pascal@13591 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@24902 | 10 WEB_SITE="https://github.com/puppetlabs/puppet" |
pascal@24976 | 11 WGET_URL="https://github.com/puppetlabs/puppet/archive/refs/tags/$VERSION.tar.gz" |
pascal@13591 | 12 |
pascal@13591 | 13 DEPENDS="ruby facter" |
pascal@13591 | 14 BUILD_DEPENDS="ruby-dev facter" |
pascal@13591 | 15 |
pascal@25603 | 16 # What is the latest version available today? |
pascal@24083 | 17 current_version() |
pascal@24083 | 18 { |
pascal@25603 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@25603 | 20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24083 | 21 } |
pascal@24083 | 22 |
pascal@13591 | 23 # Rules to configure and make the package. |
pascal@13591 | 24 compile_rules() |
pascal@13591 | 25 { |
pascal@13591 | 26 cd $src |
pascal@13591 | 27 ruby ./install.rb \ |
pascal@13591 | 28 --destdir=$DESTDIR \ |
pascal@13591 | 29 --bindir=/usr/bin \ |
pascal@13591 | 30 --sbindir=/usr/sbin \ |
pascal@13591 | 31 --mandir=/usr/share/man |
pascal@13591 | 32 } |
pascal@13591 | 33 |
pascal@13591 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 35 genpkg_rules() |
pascal@13591 | 36 { |
pascal@13591 | 37 mkdir -p $fs/usr |
pascal@13591 | 38 cp -a $install/etc $fs |
pascal@13591 | 39 cp -a $install/usr/*bin $fs/usr |
pascal@13591 | 40 cp -a $install/usr/lib $fs/usr |
pascal@13591 | 41 cd $fs/usr/bin && mv pi puppet-pi |
pascal@13591 | 42 } |