wok annotate cpu-g/receipt @ rev 22307
updated xrdp and xrdp-dev (0.9.3.1 -> 0.9.11)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Nov 14 08:51:10 2019 +0100 (2019-11-14) |
parents | 42e0165c64b9 |
children | 9af0e03b8ad0 |
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" |
pascal@14653 | 8 LICENSE="GPL3" |
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@19316 | 15 # Rules to configure and make the package. |
al@19316 | 16 compile_rules() |
al@19316 | 17 { |
al@19316 | 18 cook_pick_manpages doc/* |
al@19316 | 19 } |
al@19316 | 20 |
al@14128 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14128 | 22 genpkg_rules() |
al@14128 | 23 { |
al@14128 | 24 sed -i 's|data/logos/|/usr/share/cpu-g/logos/|' $src/cpu-g |
al@14128 | 25 sed -i 's|cpu-g.glade|/usr/share/cpu-g/cpu-g.glade|' $src/cpu-g |
al@14128 | 26 sed -i 's|data/cpu-g.png|/usr/share/pixmaps/cpu-g.png|' $src/cpu-g.glade |
al@14128 | 27 mkdir -p \ |
al@14128 | 28 $fs/usr/bin \ |
al@14128 | 29 $fs/usr/share/applications \ |
al@14128 | 30 $fs/usr/share/cpu-g \ |
al@14128 | 31 $fs/usr/share/pixmaps |
al@14128 | 32 cp -a $src/cpu-g $fs/usr/bin |
al@14128 | 33 cp -a $src/cpu-g.glade $fs/usr/share/cpu-g |
al@14128 | 34 cp -a $src/data/logos $fs/usr/share/cpu-g |
al@14128 | 35 cp -a $src/data/cpu-g.png $fs/usr/share/pixmaps |
al@14128 | 36 } |