wok-next annotate cpu-g/receipt @ rev 21626
updated encodings (1.0.4 -> 1.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 16:03:31 2020 +0100 (2020-06-25) |
parents | c022997c7a57 |
children |
rev | line source |
---|---|
al@21005 | 1 # SliTaz package receipt v2. |
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@21005 | 9 WEB_SITE="https://sourceforge.net/projects/cpug/" |
al@21005 | 10 |
al@14128 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@14128 | 12 WGET_URL="$SF_MIRROR/cpug/$TARBALL" |
al@14128 | 13 |
al@21005 | 14 compile_rules() { |
al@21005 | 15 sed -i 's|data/logos/|/usr/share/cpu-g/logos/|' cpu-g |
al@21005 | 16 sed -i 's|cpu-g.glade|/usr/share/cpu-g/cpu-g.glade|' cpu-g |
al@21005 | 17 sed -i 's|data/cpu-g.png|/usr/share/pixmaps/cpu-g.png|' cpu-g.glade |
al@14128 | 18 |
al@21005 | 19 install -Dm755 cpu-g $install/usr/bin/cpu-g |
al@21005 | 20 install -Dm644 cpu-g.glade $install/usr/share/cpu-g/cpu-g.glade |
al@21005 | 21 install -Dm644 data/cpu-g.png $install/usr/share/pixmaps/cpu-g.png |
al@21005 | 22 mkdir -p $install/usr/share/cpu-g/ |
al@21005 | 23 cp -r data/logos/ $install/usr/share/cpu-g/ |
al@21005 | 24 |
al@21005 | 25 cook_pick_manpages doc/cpu-g.1 |
al@21005 | 26 cook_pick_docs README |
al@19316 | 27 } |
al@19316 | 28 |
al@21005 | 29 genpkg_rules() { |
al@21005 | 30 copy @std |
al@21005 | 31 DEPENDS="python-pygtk" |
al@14128 | 32 } |