wok annotate cpu-g/receipt @ rev 14401
eio-dev: update deps
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Apr 23 18:25:03 2013 +0200 (2013-04-23) |
parents | |
children | 01010da01a4a |
rev | line source |
---|---|
al@14128 | 1 # SliTaz package receipt. |
al@14128 | 2 |
al@14128 | 3 PACKAGE="cpu-g" |
al@14128 | 4 VERSION="0.9.0" |
al@14128 | 5 CATEGORY="utilities" |
al@14128 | 6 SHORT_DESC="Shows useful information about your hardware" |
al@14128 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@14128 | 8 LICENSE="GPL-3" |
al@14128 | 9 WEB_SITE="http://cpug.sourceforge.net/" |
al@14128 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@14128 | 11 WGET_URL="$SF_MIRROR/cpug/$TARBALL" |
al@14128 | 12 |
al@14128 | 13 DEPENDS="pygtk" |
al@14128 | 14 |
al@14128 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14128 | 16 genpkg_rules() |
al@14128 | 17 { |
al@14128 | 18 sed -i 's|data/logos/|/usr/share/cpu-g/logos/|' $src/cpu-g |
al@14128 | 19 sed -i 's|cpu-g.glade|/usr/share/cpu-g/cpu-g.glade|' $src/cpu-g |
al@14128 | 20 sed -i 's|data/cpu-g.png|/usr/share/pixmaps/cpu-g.png|' $src/cpu-g.glade |
al@14128 | 21 mkdir -p \ |
al@14128 | 22 $fs/usr/bin \ |
al@14128 | 23 $fs/usr/share/applications \ |
al@14128 | 24 $fs/usr/share/cpu-g \ |
al@14128 | 25 $fs/usr/share/pixmaps |
al@14128 | 26 cp -a $src/cpu-g $fs/usr/bin |
al@14128 | 27 cp -a $src/cpu-g.glade $fs/usr/share/cpu-g |
al@14128 | 28 cp -a $src/data/logos $fs/usr/share/cpu-g |
al@14128 | 29 cp -a $src/data/cpu-g.png $fs/usr/share/pixmaps |
al@14128 | 30 } |