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

gtkdialog: up 0.8.2
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 03 04:36:44 2012 +0000 (2012-11-03)
parents 1916b7d701ea
children 7896f0694ef6
line source
1 # SliTaz package receipt.
3 PACKAGE="powertop"
4 VERSION="2.0"
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.lesswatts.org/projects/powertop/"
10 WGET_URL="https://01.org/powertop/sites/default/files/downloads/$TARBALL"
11 TAGS="power-management"
13 DEPENDS="ncursesw pciutils libnl zlib gcc-lib-base"
14 BUILD_DEPENDS="acl gettext ncursesw-dev wget autoconf automake libtool \
15 pciutils-dev libnl-dev zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./autogen.sh
22 ./configure && make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/sbin $fs/usr
30 }