wok annotate cpu-g/receipt @ rev 24551

updated fish and fish-doc (3.0.2 -> 3.3.1)
author Hans-G?nter Theisgen
date Fri Feb 25 09:50:31 2022 +0100 (2022-02-25)
parents 351d04534fa0
children 7dd01dedad38
rev   line source
al@14128 1 # SliTaz package receipt.
al@14128 2
al@14128 3 PACKAGE="cpu-g"
al@14128 4 VERSION="0.9.0"
al@14128 5 CATEGORY="utilities"
al@14128 6 SHORT_DESC="Shows useful information about your hardware"
al@14128 7 MAINTAINER="al.bobylev@gmail.com"
pascal@14653 8 LICENSE="GPL3"
al@14128 9 WEB_SITE="http://cpug.sourceforge.net/"
al@14128 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@14128 11 WGET_URL="$SF_MIRROR/cpug/$TARBALL"
al@14128 12
al@14128 13 DEPENDS="pygtk"
al@14128 14
pascal@24373 15 # What is the latest version available today?
pascal@24373 16 current_version()
pascal@24373 17 {
pascal@24373 18 wget -O - https://sourceforge.net/projects/cpug/files/ 2>/dev/null | \
pascal@24373 19 sed '/scope="row/!d;s|.*/cpu-g-||;s|.tar.*||;q'
pascal@24373 20 }
pascal@24373 21
al@19316 22 # Rules to configure and make the package.
al@19316 23 compile_rules()
al@19316 24 {
al@19316 25 cook_pick_manpages doc/*
al@19316 26 }
al@19316 27
al@14128 28 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14128 29 genpkg_rules()
al@14128 30 {
al@14128 31 sed -i 's|data/logos/|/usr/share/cpu-g/logos/|' $src/cpu-g
al@14128 32 sed -i 's|cpu-g.glade|/usr/share/cpu-g/cpu-g.glade|' $src/cpu-g
al@14128 33 sed -i 's|data/cpu-g.png|/usr/share/pixmaps/cpu-g.png|' $src/cpu-g.glade
al@14128 34 mkdir -p \
al@14128 35 $fs/usr/bin \
al@14128 36 $fs/usr/share/applications \
al@14128 37 $fs/usr/share/cpu-g \
al@14128 38 $fs/usr/share/pixmaps
al@14128 39 cp -a $src/cpu-g $fs/usr/bin
al@14128 40 cp -a $src/cpu-g.glade $fs/usr/share/cpu-g
al@14128 41 cp -a $src/data/logos $fs/usr/share/cpu-g
al@14128 42 cp -a $src/data/cpu-g.png $fs/usr/share/pixmaps
al@14128 43 }