2008-11-15 20:44:47 +01:00
|
|
|
# Description: Finds the software component(s) that make your laptop use more power than necessary
|
2012-06-30 17:59:19 +02:00
|
|
|
# URL: https://01.org/powertop/
|
2008-11-15 20:44:47 +01:00
|
|
|
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
|
2012-06-30 17:59:19 +02:00
|
|
|
# Depends on: ncurses libnl
|
2008-11-15 20:44:47 +01:00
|
|
|
|
|
|
|
name=powertop
|
2014-05-17 20:15:05 +02:00
|
|
|
version=2.6
|
2008-11-15 20:44:47 +01:00
|
|
|
release=1
|
2014-05-17 20:15:05 +02:00
|
|
|
source=(https://01.org/sites/default/files/downloads/$name/$name-$version.tar.gz)
|
2008-11-15 20:44:47 +01:00
|
|
|
|
2012-06-11 17:28:55 +02:00
|
|
|
build() {
|
2014-05-17 20:15:05 +02:00
|
|
|
cd $name
|
|
|
|
./autogen.sh
|
2014-02-03 09:43:46 +01:00
|
|
|
./configure --prefix=/usr --disable-nls \
|
|
|
|
--mandir=/usr/man
|
2012-06-11 17:28:55 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2008-11-15 20:44:47 +01:00
|
|
|
}
|