wok view puppet-dashboard/receipt @ rev 25026

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 10:39:49 2022 +0000 (23 months ago)
parents a6b997a82f39
children 0262035dc1e7
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 '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;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 }