# Template file for 'powertop' pkgname=powertop version=2.0 homepage="https://01.org/powertop/" distfiles="https://01.org/powertop/sites/default/files/downloads/$pkgname-$version.tar.bz2" build_style=gnu-configure short_desc="Linux tool to find out what is using power on a laptop" maintainer="Juan RP " license="GPL-2" checksum=7af51d320856b3446bcc314c9414385f3b05b9360f650883b0210cd3b12c5c1c 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 build pkg-config Add_dependency build ncurses-devel Add_dependency build pciutils-devel Add_dependency build libnl3-devel