wok-6.x view powertop/receipt @ rev 10036

gcc: we want a native i486 compiler to cross compile full system
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 20 06:11:16 2011 +0200 (2011-05-20)
parents 87c39df98536
children 1916b7d701ea
line source
1 # SliTaz package receipt.
3 PACKAGE="powertop"
4 VERSION="1.13"
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"
13 TAGS="power-management"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 }