2013-12-17 00:50:31 +08:00
|
|
|
# Contributor: abveritas@chakra-project.org
|
|
|
|
# Maintainer: Bruce Liu <brli@user.sourceforge.net>
|
2010-08-06 06:24:13 +08:00
|
|
|
|
|
|
|
pkgname=powertop
|
2014-06-08 21:14:15 +08:00
|
|
|
pkgver=2.6.1
|
2012-05-13 02:30:27 +08:00
|
|
|
pkgrel=1
|
2010-08-06 06:24:13 +08:00
|
|
|
pkgdesc="Tool that finds the software that makes your laptop use more power than necessary"
|
2013-05-25 06:29:38 +08:00
|
|
|
arch=('x86_64')
|
2013-12-17 00:50:31 +08:00
|
|
|
url="https://01.org/powertop"
|
2010-08-06 06:24:13 +08:00
|
|
|
license=('GPL2')
|
2013-05-25 06:29:38 +08:00
|
|
|
depends=('gcc-libs' 'libnl' 'ncurses' 'pciutils')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('utils')
|
2013-05-25 06:29:38 +08:00
|
|
|
screenshot=('https://01.org/powertop/sites/default/files/resize/users/u8/powertop20_overview-640x381.png')
|
2014-06-08 21:14:15 +08:00
|
|
|
source=("https://01.org/sites/default/files/downloads/powertop/${pkgname}-${pkgver}.tar.gz")
|
|
|
|
md5sums=('4391e7b0af854ecf722cdf712f24b631')
|
2010-08-06 06:24:13 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}/powertop-$pkgver
|
2012-05-13 02:30:27 +08:00
|
|
|
./autogen.sh
|
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/powertop-$pkgver
|
2010-08-06 06:24:13 +08:00
|
|
|
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
}
|