wok-current view powertop/receipt @ rev 15358
Up qemu (1.5.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 01 13:32:31 2013 +0000 (2013-10-01) |
parents | 3957e60d6239 |
children | d00dea30a0c9 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.lesswatts.org/projects/powertop/"
11 WGET_URL="https://01.org/powertop/sites/default/files/downloads/$TARBALL"
12 TAGS="power-management"
14 DEPENDS="ncursesw pciutils libnl zlib gcc-lib-base"
15 BUILD_DEPENDS="acl gettext ncursesw-dev wget autoconf automake libtool \
16 pciutils-dev libnl-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./autogen.sh
23 ./configure && make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/sbin $fs/usr
31 }