wok-6.x annotate cpu-g/receipt @ rev 18665

Up tazpkg(882)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 04 05:36:22 2015 +0200 (2015-12-04)
parents fff8d437ac2d
children 42e0165c64b9
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@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 }