3
0
Fork 0
forked from mirrors/nixpkgs

URL update for kqemu

svn path=/nixpkgs/trunk/; revision=13173
This commit is contained in:
Michael Raskin 2008-11-02 15:54:44 +00:00
parent 914e93bb01
commit 7dc297637f
2 changed files with 27 additions and 1 deletions

View file

@ -2,7 +2,7 @@ args : with args;
rec {
name = "kqemu-"+version;
src = fetchurl {
url = http://fabrice.bellard.free.fr/qemu/kqemu-1.3.0pre11.tar.gz;
url = http://bellard.org/qemu/kqemu-1.3.0pre11.tar.gz;
sha256 = "03svg2x52ziglf9r9irf6ziiz8iwa731fk1mdskwdip5jxbyy6jl";
};

View file

@ -0,0 +1,26 @@
args : with args;
rec {
name = "kqemu-"+version;
src = fetchurl {
url = http://bellard.org/qemu/kqemu-1.4.0pre1.tar.gz;
sha256 = "14dlmawn3gia1j401ag5si5k1a1vav7jpv86rl37p1hwmr7fihxs";
};
buildInputs = [];
configureFlags = [''--PREFIx=$out'' ''--kernel-path=$(ls -d ${kernel}/lib/modules/*/build)''];
debugStep = FullDepEntry (''
cat config-host.mak
'') ["minInit"];
preConfigure = FullDepEntry (''
sed -e 's/`uname -r`/'"$(basename ${kernel}/lib/modules/*)"'/' -i install.sh
sed -e '/kernel_path=/akernel_path=$out$kernel_path' -i install.sh
sed -e '/depmod/d' -i install.sh
cat install.sh
'') ["minInit" "doUnpack"];
phaseNames = ["preConfigure" "doConfigure" "debugStep" "doMakeInstall"];
meta = {
description = " Kernel module for Qemu acceleration ";
};
}