forked from ports/contrib
powertop: update to 2.0
This commit is contained in:
parent
ce2f7ad389
commit
cb5e3bd661
@ -1,6 +1,3 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/powertop
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man8/
|
||||
-rw-r--r-- root/root usr/man/man8/powertop.8.gz
|
||||
drwxr-xr-x root/root usr/sbin/
|
||||
-rwxr-xr-x root/root usr/sbin/powertop
|
||||
|
@ -1 +1 @@
|
||||
78aa17c8f55178004223bf236654298e powertop-1.13.tar.gz
|
||||
8f27e2b0bf1c68b1f5a9a98294238bb2 powertop-2.0.tar.bz2
|
||||
|
@ -1,19 +1,17 @@
|
||||
# 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
|
||||
# Packager: Torsten Henschel, thenschel at henschelsoft dot de
|
||||
# Depends on: ncurses
|
||||
|
||||
name=powertop
|
||||
version=1.13
|
||||
version=2.0
|
||||
release=1
|
||||
source=(http://www.lesswatts.org/projects/$name/download/$name-$version.tar.gz)
|
||||
source=(https://01.org/powertop/sites/default/files/downloads/$name-$version.tar.bz2)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
mv $PKG/usr/share/man $PKG/usr/man
|
||||
# remove nls
|
||||
rm -r $PKG/usr/share
|
||||
build() {
|
||||
cd $name-$version
|
||||
export LIBS="-lresolv"
|
||||
./configure --prefix=/usr --disable-nls
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user