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