wok-next diff cpu-g/receipt @ rev 14282

Add perl-unix-mknod
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 06 15:47:07 2013 +0200 (2013-04-06)
parents
children 01010da01a4a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cpu-g/receipt	Sat Apr 06 15:47:07 2013 +0200
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="cpu-g"
     1.7 +VERSION="0.9.0"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="Shows useful information about your hardware"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL-3"
    1.12 +WEB_SITE="http://cpug.sourceforge.net/"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WGET_URL="$SF_MIRROR/cpug/$TARBALL"
    1.15 +
    1.16 +DEPENDS="pygtk"
    1.17 +
    1.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.19 +genpkg_rules()
    1.20 +{
    1.21 +	sed -i 's|data/logos/|/usr/share/cpu-g/logos/|' $src/cpu-g
    1.22 +	sed -i 's|cpu-g.glade|/usr/share/cpu-g/cpu-g.glade|' $src/cpu-g
    1.23 +	sed -i 's|data/cpu-g.png|/usr/share/pixmaps/cpu-g.png|' $src/cpu-g.glade
    1.24 +	mkdir -p \
    1.25 +		$fs/usr/bin \
    1.26 +		$fs/usr/share/applications \
    1.27 +		$fs/usr/share/cpu-g \
    1.28 +		$fs/usr/share/pixmaps
    1.29 +	cp -a $src/cpu-g $fs/usr/bin
    1.30 +	cp -a $src/cpu-g.glade $fs/usr/share/cpu-g
    1.31 +	cp -a $src/data/logos $fs/usr/share/cpu-g
    1.32 +	cp -a $src/data/cpu-g.png $fs/usr/share/pixmaps
    1.33 +}