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