2015-08-03 11:32:26 +09:00
|
|
|
# Description: Finds the software component(s) that make your laptop use more power than necessary
|
|
|
|
# URL: https://01.org/powertop/
|
|
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
|
|
|
# Packager: Mikhail Kolesnik, mike at openbunker dot org
|
|
|
|
# Depends on: ncurses libnl
|
2008-11-15 21:44:47 +02:00
|
|
|
|
|
|
|
name=powertop
|
2019-07-08 11:02:09 +02:00
|
|
|
version=2.10
|
2008-11-15 21:44:47 +02:00
|
|
|
release=1
|
2019-07-08 11:02:09 +02:00
|
|
|
source=(https://01.org/sites/default/files/downloads/$name-v$version.tar.gz)
|
2008-11-15 21:44:47 +02:00
|
|
|
|
2012-06-11 18:28:55 +03:00
|
|
|
build() {
|
2019-07-08 11:02:09 +02:00
|
|
|
cd $name-v$version
|
2015-08-03 11:32:26 +09:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-nls
|
2012-06-11 18:28:55 +03:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2008-11-15 21:44:47 +02:00
|
|
|
}
|