wok view cpu-g/receipt @ rev 21011

updated gtklife (5.1 -> 5.2)
author Hans-G?nter Theisgen
date Sat Mar 09 15:17:33 2019 +0100 (2019-03-09)
parents 42e0165c64b9
children 9af0e03b8ad0
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 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cook_pick_manpages doc/*
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 sed -i 's|data/logos/|/usr/share/cpu-g/logos/|' $src/cpu-g
25 sed -i 's|cpu-g.glade|/usr/share/cpu-g/cpu-g.glade|' $src/cpu-g
26 sed -i 's|data/cpu-g.png|/usr/share/pixmaps/cpu-g.png|' $src/cpu-g.glade
27 mkdir -p \
28 $fs/usr/bin \
29 $fs/usr/share/applications \
30 $fs/usr/share/cpu-g \
31 $fs/usr/share/pixmaps
32 cp -a $src/cpu-g $fs/usr/bin
33 cp -a $src/cpu-g.glade $fs/usr/share/cpu-g
34 cp -a $src/data/logos $fs/usr/share/cpu-g
35 cp -a $src/data/cpu-g.png $fs/usr/share/pixmaps
36 }