wok-next view cpu-g/receipt @ rev 21626
updated encodings (1.0.4 -> 1.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 16:03:31 2020 +0100 (2020-06-25) |
parents | c022997c7a57 |
children |
line source
1 # SliTaz package receipt v2.
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="https://sourceforge.net/projects/cpug/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/cpug/$TARBALL"
14 compile_rules() {
15 sed -i 's|data/logos/|/usr/share/cpu-g/logos/|' cpu-g
16 sed -i 's|cpu-g.glade|/usr/share/cpu-g/cpu-g.glade|' cpu-g
17 sed -i 's|data/cpu-g.png|/usr/share/pixmaps/cpu-g.png|' cpu-g.glade
19 install -Dm755 cpu-g $install/usr/bin/cpu-g
20 install -Dm644 cpu-g.glade $install/usr/share/cpu-g/cpu-g.glade
21 install -Dm644 data/cpu-g.png $install/usr/share/pixmaps/cpu-g.png
22 mkdir -p $install/usr/share/cpu-g/
23 cp -r data/logos/ $install/usr/share/cpu-g/
25 cook_pick_manpages doc/cpu-g.1
26 cook_pick_docs README
27 }
29 genpkg_rules() {
30 copy @std
31 DEPENDS="python-pygtk"
32 }