wok-stable view powertop/receipt @ rev 5939
mplayer-svn: fix kernel version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 02 11:23:10 2010 +0200 (2010-08-02) |
parents | eb04f16915c1 |
children | 283c2a26b28c |
line source
1 # SliTaz package receipt.
3 PACKAGE="powertop"
4 VERSION="1.11"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utility designed to measure and explain a computer's electrical power consumption"
7 MAINTAINER="domcox@slitaz.org"
8 DEPENDS="ncursesw"
9 BUILD_DEPENDS="acl gettext ncursesw-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 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/bin $fs/usr
27 strip -s $fs/usr/bin/*
28 }