PKGBUILDs/extra/cpufrequtils/PKGBUILD
2009-11-26 22:21:46 -08:00

27 lines
913 B
Bash

# Maintainer: kevin <kevin@archlinux.org>
# Contributor: phrakture <aaronmgriffin+gmail+com>
pkgname=cpufrequtils
pkgver=005
pkgrel=2
pkgdesc="Userspace tools for the kernel cpufreq subsystem"
arch=('arm')
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=(force !libtool)
md5sums=('73a41589fe74b73fc530f4179f2c6142' '7be9ea55db712327783162ba6f7659ab'
'8335b8503376a3776da2ddc84043887c')
build()
{
cd $startdir/src/$pkgname-$pkgver
make -j1 || return 1
make INSTALL="/bin/install -c" mandir=/usr/share/man DESTDIR=$startdir/pkg install
install -D -m755 ../cpufreq.rcd $startdir/pkg/etc/rc.d/cpufreq
install -D -m644 ../cpufreq.confd $startdir/pkg/etc/conf.d/cpufreq
}