wok-next annotate cpu-g/receipt @ rev 14128
comical, cpu-g: move from undigest wok
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Feb 28 09:47:02 2013 +0000 (2013-02-28) |
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 } |