wok view cpu-g/receipt @ rev 14394

imagemagick: update WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 23 13:48:09 2013 +0200 (2013-04-23)
parents
children 01010da01a4a
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="GPL-3"
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 }