wok-next view powertop/receipt @ rev 14730

Up xorg-xf86-video-ati (7.1.0), xorg-xf86-video-fbdev (0.4.3), xorg-xf86-video-geode (2.11.14), xorg-xf86-video-i740 (1.3.4), xorg-xf86-video-neomagic (1.2.7), xorg-xf86-video-nv (2.1.20), xorg-xf86-video-s3 (0.6.5), xorg-xf86-video-trident (1.3.6), xorg-xf86-video-vesa (2.3.2), xorg-xf86-video-vmware (13.0.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 13 10:45:31 2013 +0200 (2013-06-13)
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 }