2009-01-12 22:12:07 +01:00
|
|
|
{stdenv, fetchurl, kernelHeaders, glibc, libtool, gettext}:
|
|
|
|
|
2009-02-03 11:39:48 +01:00
|
|
|
assert stdenv.isLinux && stdenv.system != "powerpc-linux";
|
2009-01-12 22:12:07 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "cpufrequtils-005";
|
2009-02-03 11:39:48 +01:00
|
|
|
|
2009-01-12 22:12:07 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils-005.tar.gz;
|
|
|
|
md5 = "100a8220a546ce61ce943d4107e67db9";
|
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
2009-02-03 11:39:48 +01:00
|
|
|
sed -e "s@= /usr/bin/@= @g" \
|
2009-01-12 22:12:07 +01:00
|
|
|
-e "s@/usr/@$out/@" \
|
|
|
|
-i Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ kernelHeaders glibc libtool gettext ];
|
|
|
|
}
|