wok-6.x annotate puppet-dashboard/receipt @ rev 25500

new default version for java8-jre
author Hans-G?nter Theisgen
date Fri Dec 30 10:14:12 2022 +0100 (22 months ago)
parents a6b997a82f39
children
rev   line source
pascal@13594 1 # SliTaz package receipt.
pascal@13594 2
pascal@13594 3 PACKAGE="puppet-dashboard"
pascal@13594 4 VERSION="1.2.10"
pascal@13594 5 CATEGORY="network"
pascal@13594 6 SHORT_DESC="Web tracking frontend to puppet."
pascal@13594 7 MAINTAINER="pankso@slitaz.org"
pascal@15376 8 LICENSE="Apache"
pascal@13594 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24902 10 WEB_SITE="https://github.com/puppetlabs/puppet"
pascal@25026 11 WGET_URL="https://release-archives.puppet.com/downloads/dashboard/$TARBALL"
pascal@13594 12
pascal@13594 13 DEPENDS="ruby puppet"
pascal@13594 14 BUILD_DEPENDS="ruby-dev"
pascal@13594 15
pascal@24545 16 # What is the latest version available today?
pascal@24545 17 current_version()
pascal@24545 18 {
pascal@24545 19 wget -O - https://github.com/sodabrew/puppet-dashboard/releases 2>/dev/null | \
pascal@24545 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24545 21 }
pascal@24545 22
pascal@13594 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13594 24 genpkg_rules()
pascal@13594 25 {
pascal@13594 26 mkdir -p $fs/usr/share
pascal@13594 27 cp -a $src $fs/usr/share/puppet-dashboard
pascal@13594 28 }