Commit 6ca80666 authored by Seblu's avatar Seblu
Browse files

add cpupower


git-svn-id: https://seblu.net/s/archpkg@145 02741741-5192-46b8-8916-7152b19231d9
parent 84b4fdae
Loading
Loading
Loading
Loading

cpupower/PKGBUILD

0 → 100644
+26 −0
Original line number Diff line number Diff line
# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>

pkgname=cpupower
pkgver=3.1_rc7
pkgrel=1
pkgdesc="Linux kernel ${pkgver//_/-} cpupower tool"
license=('GPL2')
arch=('i686' 'x86_64')
url='http://www.kernel.org'
options=(!strip)
conflicts=('cpufrequtils')
source=('linux-3.1-rc7-cpupower.tar.bz2')
md5sums=('444eb8f3867abd58d890f0e9d2c174f7')

build() {
  cd linux/tools/power/cpupower
  # fix compiling fail if --as-needed flags is present
  [[ "$LDFLAGS" ]] && LDFLAGS="$LDFLAGS,--no-as-needed"
  make
}

package() {
  cd linux/tools/power/cpupower
  make DESTDIR="${pkgdir}" install install-man
}
# vim:set ts=2 sw=2 ft=sh et:
+96.7 KiB

File added.

No diff preview for this file type.