Commit 2b4071cf authored by Seblu's avatar Seblu
Browse files

up cpupower


git-svn-id: https://seblu.net/s/archpkg@154 02741741-5192-46b8-8916-7152b19231d9
parent baa99b75
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>

pkgname=cpupower
pkgver=3.1_rc7
pkgver=3.1
pkgrel=1
pkgdesc="Linux kernel ${pkgver//_/-} cpupower tool"
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')
source=("http://ftp.kernel.org/pub/linux/kernel/v3.0/linux-$pkgver.tar.xz") 
md5sums=('edbdc798f23ae0f8045c82f6fa22c536')

build() {
  cd linux/tools/power/cpupower
  cd linux-$pkgver/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
  cd linux-$pkgver/tools/power/cpupower
  make DESTDIR="$pkgdir" INSTALL="/bin/install -c" install install-man
}
# vim:set ts=2 sw=2 ft=sh et:
−96.7 KiB

File deleted.