# Template file for 'powertop'
pkgname=powertop
version=1.97
distfiles="http://www.kernel.org/pub/linux/status/$pkgname/$pkgname-$version.tar.bz2"
build_style=gnu_makefile
short_desc="Linux tool to find out what is using power on a laptop"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=d3dafe1ce4dabeb4edb724616d7b8533ac40ed71fca43e81b007e9fd7011e516
long_desc="
 PowerTOP is a Linux tool that finds the software component(s) that make your
 laptop use more power than necessary while it is idle. As of Linux kernel
 version 2.6.21, the kernel no longer has a fixed 1000Hz timer tick. This will
 (in theory) give a huge power savings because the CPU stays in low power mode
 for longer periods of time during system idle.

 However... there are many things that can ruin the party, both inside the
 kernel and in userspace. PowerTOP combines various sources of information from
 the kernel into one convenient screen so that you can see how well your system
 is doing, and which components are the biggest problem."

Add_dependency run libgcc
Add_dependency run glibc
Add_dependency run libstdc++
Add_dependency run libnl
Add_dependency run pciutils
Add_dependency run zlib
Add_dependency run ncursesw

Add_dependency build libnl-devel
Add_dependency build pciutils-devel
Add_dependency build zlib-devel
Add_dependency build gettext
Add_dependency build ncursesw-devel
