wok view cpu-g/receipt @ rev 17127
libQtGui: if no exists write ~/.config/Trolltech.conf
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Tue Sep 09 00:43:00 2014 +0200 (2014-09-09) |
parents | fff8d437ac2d |
children | 42e0165c64b9 |
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 gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 sed -i 's|data/logos/|/usr/share/cpu-g/logos/|' $src/cpu-g
19 sed -i 's|cpu-g.glade|/usr/share/cpu-g/cpu-g.glade|' $src/cpu-g
20 sed -i 's|data/cpu-g.png|/usr/share/pixmaps/cpu-g.png|' $src/cpu-g.glade
21 mkdir -p \
22 $fs/usr/bin \
23 $fs/usr/share/applications \
24 $fs/usr/share/cpu-g \
25 $fs/usr/share/pixmaps
26 cp -a $src/cpu-g $fs/usr/bin
27 cp -a $src/cpu-g.glade $fs/usr/share/cpu-g
28 cp -a $src/data/logos $fs/usr/share/cpu-g
29 cp -a $src/data/cpu-g.png $fs/usr/share/pixmaps
30 }