wok-current view puppet-dashboard/receipt @ rev 25672
patch tazpkg, upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 17:58:42 2024 +0000 (5 months ago) |
parents | a6b997a82f39 |
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 '/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 }