18 lines
484 B
Plaintext
18 lines
484 B
Plaintext
# 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
|
|
# Depends on: ncurses
|
|
|
|
name=powertop
|
|
version=2.0
|
|
release=1
|
|
source=(https://01.org/powertop/sites/default/files/downloads/$name-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
export LIBS="-lresolv"
|
|
./configure --prefix=/usr --disable-nls
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|