wok-next diff cpu-g/receipt @ rev 21231
updated clamtk (4.36 -> 5.27)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 03 17:21:10 2019 +0100 (2019-12-03) |
parents | c022997c7a57 |
children |
line diff
1.1 --- a/cpu-g/receipt Thu Aug 23 10:22:21 2018 +0300 1.2 +++ b/cpu-g/receipt Tue Dec 03 17:21:10 2019 +0100 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="cpu-g" 1.8 VERSION="0.9.0" 1.9 @@ -6,31 +6,27 @@ 1.10 SHORT_DESC="Shows useful information about your hardware" 1.11 MAINTAINER="al.bobylev@gmail.com" 1.12 LICENSE="GPL3" 1.13 -WEB_SITE="http://cpug.sourceforge.net/" 1.14 +WEB_SITE="https://sourceforge.net/projects/cpug/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 WGET_URL="$SF_MIRROR/cpug/$TARBALL" 1.18 1.19 -DEPENDS="python-pygtk" 1.20 +compile_rules() { 1.21 + sed -i 's|data/logos/|/usr/share/cpu-g/logos/|' cpu-g 1.22 + sed -i 's|cpu-g.glade|/usr/share/cpu-g/cpu-g.glade|' cpu-g 1.23 + sed -i 's|data/cpu-g.png|/usr/share/pixmaps/cpu-g.png|' cpu-g.glade 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 - cook_pick_manpages doc/* 1.29 + install -Dm755 cpu-g $install/usr/bin/cpu-g 1.30 + install -Dm644 cpu-g.glade $install/usr/share/cpu-g/cpu-g.glade 1.31 + install -Dm644 data/cpu-g.png $install/usr/share/pixmaps/cpu-g.png 1.32 + mkdir -p $install/usr/share/cpu-g/ 1.33 + cp -r data/logos/ $install/usr/share/cpu-g/ 1.34 + 1.35 + cook_pick_manpages doc/cpu-g.1 1.36 + cook_pick_docs README 1.37 } 1.38 1.39 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.40 -genpkg_rules() 1.41 -{ 1.42 - sed -i 's|data/logos/|/usr/share/cpu-g/logos/|' $src/cpu-g 1.43 - sed -i 's|cpu-g.glade|/usr/share/cpu-g/cpu-g.glade|' $src/cpu-g 1.44 - sed -i 's|data/cpu-g.png|/usr/share/pixmaps/cpu-g.png|' $src/cpu-g.glade 1.45 - mkdir -p \ 1.46 - $fs/usr/bin \ 1.47 - $fs/usr/share/applications \ 1.48 - $fs/usr/share/cpu-g \ 1.49 - $fs/usr/share/pixmaps 1.50 - cp -a $src/cpu-g $fs/usr/bin 1.51 - cp -a $src/cpu-g.glade $fs/usr/share/cpu-g 1.52 - cp -a $src/data/logos $fs/usr/share/cpu-g 1.53 - cp -a $src/data/cpu-g.png $fs/usr/share/pixmaps 1.54 +genpkg_rules() { 1.55 + copy @std 1.56 + DEPENDS="python-pygtk" 1.57 }