blob: b810db2c1b534c15e0f6c79d15c9529d80f8e39a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{stdenv, fetchurl, linuxHeaders, glibc, libtool, gettext}:
assert stdenv.isLinux && stdenv.system != "powerpc-linux";
stdenv.mkDerivation {
name = "cpufrequtils-005";
src = fetchurl {
url = http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils-005.tar.gz;
md5 = "100a8220a546ce61ce943d4107e67db9";
};
patchPhase = ''
sed -e "s@= /usr/bin/@= @g" \
-e "s@/usr/@$out/@" \
-i Makefile
'';
buildInputs = [ linuxHeaders glibc libtool gettext ];
}
|