wok view dool/receipt @ rev 25770

dool,fake-hwclock,gtkam,xfce4-*-plugin,xlogo: add current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 06 11:29:23 2024 +0000 (12 days ago)
parents 47bbbfd2172b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="dool"
4 VERSION="1.3.2"
5 CATEGORY="system-tools"
6 TAGS="resource system monitor stats statistics"
7 SHORT_DESC="Versatile resource statistics tool."
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://github.com/scottchiefbaker/dool"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/v$VERSION/$PACKAGE-$VERSION.tar.gz"
15 DEPENDS="py3k-six"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make install DESTDIR=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cook_copy_folders dool
34 mkdir -p $fs/usr/bin
35 ln -s /usr/share/dool/dool.py $fs/usr/bin/dool
36 }