wok-6.x view powertop/receipt @ rev 14108
Up: libwekkit-video-dev (1.8.3)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Feb 24 09:19:30 2013 +0100 (2013-02-24) |
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 }