wok view dool/receipt @ rev 25801

created recipe for xfce4-calculator-plugin
author Hans-G?nter Theisgen
date Sat Nov 02 14:21:07 2024 +0100 (2 weeks 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 }