diff options
author | Michael Hanson <hansonorders@verison.net> | 2010-03-22 19:37:16 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verison.net> | 2010-03-22 19:37:16 (GMT) |
commit | 21383e4ca51bc151601a51e6d75885959deb89e1 (patch) | |
tree | f9c1e3739098b700c0e0421c069ae926cc1b8cc2 /abs/extra-testing/cpufrequtils/PKGBUILD | |
parent | dbff62a9a2550bd0bed77860fa4164d74c90dfb3 (diff) | |
parent | e51cf415764a2c267f373965c48eec082ad59d81 (diff) | |
download | linhes_pkgbuild-21383e4ca51bc151601a51e6d75885959deb89e1.zip linhes_pkgbuild-21383e4ca51bc151601a51e6d75885959deb89e1.tar.gz linhes_pkgbuild-21383e4ca51bc151601a51e6d75885959deb89e1.tar.bz2 |
Merge branch 'master' of mihanson@knoppmyth.net:LinHES-PKGBUILD
Diffstat (limited to 'abs/extra-testing/cpufrequtils/PKGBUILD')
-rw-r--r-- | abs/extra-testing/cpufrequtils/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/extra-testing/cpufrequtils/PKGBUILD b/abs/extra-testing/cpufrequtils/PKGBUILD new file mode 100644 index 0000000..826e6c9 --- /dev/null +++ b/abs/extra-testing/cpufrequtils/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 66595 2010-02-01 00:00:07Z giovanni $ +# Maintainer: kevin <kevin@archlinux.org> +# Contributor: phrakture <aaronmgriffin+gmail+com> +# Contributor: SpepS <dreamspepser at yahoo dot it> + +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) +md5sums=('fdd833ce70a9ae40ae8bce5b18f2becf' + '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 +} |