powertop: initial commit

This commit is contained in:
Mikhail Kolesnik 2008-11-15 21:44:47 +02:00
parent ceef452825
commit 5e8fd0f132
4 changed files with 49 additions and 0 deletions

6
powertop/.footprint Normal file
View File

@ -0,0 +1,6 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/powertop
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/powertop.1.gz

1
powertop/.md5sum Normal file
View File

@ -0,0 +1 @@
e09f631f60d50299d8885193e6fd3756 powertop-1.10.tar.gz

19
powertop/Pkgfile Normal file
View File

@ -0,0 +1,19 @@
# Description: Finds the software component(s) that make your laptop use more power than necessary
# URL: http://www.lesswatts.org/projects/powertop/
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
# Packager: Torsten Henschel, thenschel at henschelsoft dot de
# Depends on: ncurses
name=powertop
version=1.10
release=1
source=(http://www.lesswatts.org/projects/$name/download/$name-$version.tar.gz)
build() {
cd $name-$version
make
make DESTDIR=$PKG install
mv $PKG/usr/share/man $PKG/usr/man
# remove nls
rm -r $PKG/usr/share
}

23
powertop/README Normal file
View File

@ -0,0 +1,23 @@
README for powertop
REQUIREMENTS
You'll need to enable the following kernel options:
CONFIG_NO_HZ
CONFIG_HIGH_RES_TIMERS
CONFIG_HPET_TIMER
CONFIG_CPU_FREQ_GOV_ONDEMAND
CONFIG_USB_SUSPEND
CONFIG_SND_AC97_POWER_SAVE
CONFIG_TIMER_STATS
and to disable these:
CONFIG_IRQBALANCE
CONFIG_ACPI_DEBUG
PRE-INSTALL
POST-INSTALL
RESOURCES
http://www.lesswatts.org/projects/powertop/faq.php