wok annotate powertop/receipt @ rev 1256
powertop: typo fix in receipt
author | Dominique Corbex <domcox@users.sourceforge.net> |
---|---|
date | Wed Aug 13 17:45:27 2008 +0200 (2008-08-13) |
parents | 345c3a4577f1 |
children | 711665cba8bb |
rev | line source |
---|---|
domcox@1252 | 1 # SliTaz package receipt. |
domcox@1252 | 2 |
domcox@1252 | 3 PACKAGE="powertop" |
domcox@1252 | 4 VERSION="1.10" |
domcox@1252 | 5 CATEGORY="system-tools" |
domcox@1252 | 6 SHORT_DESC="Utility designed to measure and explain a computer's electrical power consumption" |
domcox@1252 | 7 MAINTAINER="domcox@users.sourceforge.net" |
domcox@1252 | 8 DEPENDS="ncurses" |
domcox@1252 | 9 BUILD_DEPENDS="ncurses-dev" |
domcox@1252 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
domcox@1252 | 11 WEB_SITE="http://www.lesswatts.org/projects/powertop/" |
domcox@1252 | 12 WGET_URL="http://www.lesswatts.org/projects/powertop/download/$TARBALL" |
domcox@1252 | 13 |
domcox@1252 | 14 # Rules to configure and make the package. |
domcox@1252 | 15 compile_rules() |
domcox@1252 | 16 { |
domcox@1252 | 17 cd $src |
domcox@1252 | 18 # switch from ncursesw to ncurses |
domcox@1252 | 19 sed -e 's/lncursesw/lncurses/g' Makefile > Makefile.slitaz |
domcox@1256 | 20 cp Makefile.slitaz Makefile |
domcox@1252 | 21 make |
domcox@1252 | 22 make DESTDIR=$PWD/_pkg install |
domcox@1252 | 23 } |
domcox@1252 | 24 |
domcox@1252 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@1252 | 26 genpkg_rules() |
domcox@1252 | 27 { |
domcox@1252 | 28 mkdir -p $fs/usr |
domcox@1252 | 29 cp -a $_pkg/usr/bin $fs/usr |
domcox@1252 | 30 strip -s $fs/usr/bin/* |
domcox@1252 | 31 mkdir -p $fs/usr/share/locale |
domcox@1252 | 32 for LANG in de es it fr |
domcox@1252 | 33 do |
domcox@1252 | 34 cp -a $_pkg/usr/share/locale/$LANG* $fs/usr/share/locale |
domcox@1252 | 35 done |
domcox@1252 | 36 } |
domcox@1252 | 37 |