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