mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
38 lines
1.2 KiB
Bash
38 lines
1.2 KiB
Bash
|
# $Id: PKGBUILD 85780 2010-07-19 14:39:52Z kevin $
|
||
|
# Maintainer: kevin <kevin@archlinux.org>
|
||
|
# Contributor: phrakture <aaronmgriffin+gmail+com>
|
||
|
# Contributor: SpepS <dreamspepser at yahoo dot it>
|
||
|
|
||
|
# ALARM: Kevin Mihelich <kevin@plugapps.com>
|
||
|
# - no changes, this older version works with ARM though
|
||
|
|
||
|
plugrel=1
|
||
|
|
||
|
pkgname=cpufrequtils
|
||
|
pkgver=007
|
||
|
pkgrel=1
|
||
|
pkgdesc="Userspace tools for the kernel cpufreq subsystem"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html"
|
||
|
license=('GPL')
|
||
|
depends=('sysfsutils')
|
||
|
backup=('etc/conf.d/cpufreq')
|
||
|
source=(http://www.kernel.org/pub/linux/utils/kernel/cpufreq/${pkgname}-${pkgver}.tar.bz2
|
||
|
cpufreq.rcd
|
||
|
cpufreq.confd)
|
||
|
options=(!libtool !distcc)
|
||
|
md5sums=('c59b71c044d463896f3247e8dd83dd7e'
|
||
|
'7f2b5085df44d2df3e7c2d0b9f6dab08'
|
||
|
'baae1f2abffc6bef2bd32a8dd8263c09')
|
||
|
|
||
|
build()
|
||
|
{
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
|
||
|
make -j1 || return 1
|
||
|
make INSTALL="/bin/install -c" mandir=/usr/share/man DESTDIR="${pkgdir}" install || return 1
|
||
|
|
||
|
install -D -m755 ${srcdir}/cpufreq.rcd "${pkgdir}/etc/rc.d/cpufreq" || return 1
|
||
|
install -D -m644 ${srcdir}/cpufreq.confd "${pkgdir}/etc/conf.d/cpufreq" || return 1
|
||
|
}
|