wok view puppet-dashboard/receipt @ rev 25601

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 18:06:38 2023 +0000 (10 months ago)
parents 505d1daeed6c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="puppet-dashboard"
4 VERSION="1.2.10"
5 CATEGORY="network"
6 SHORT_DESC="Web tracking frontend to puppet."
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://release-archives.puppet.com/downloads/dashboard/$TARBALL"
13 DEPENDS="ruby puppet"
14 BUILD_DEPENDS="ruby-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/sodabrew/puppet-dashboard/releases 2>/dev/null | \
20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share
27 cp -a $src $fs/usr/share/puppet-dashboard
28 }