about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/blcr
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2008-04-11 09:30:46 +0000
committerMichael Raskin <7c6f434c@mail.ru>2008-04-11 09:30:46 +0000
commit784d94c2581e8e4221c5a1a25e29402d83c5feaa (patch)
tree807af63b134ef3105a1a4e1bcbe759dc7a95ab16 /pkgs/os-specific/linux/blcr
parent4ca642f1ad3a5e39c7b54a5a22b778557accd595 (diff)
downloadnixlib-784d94c2581e8e4221c5a1a25e29402d83c5feaa.tar
nixlib-784d94c2581e8e4221c5a1a25e29402d83c5feaa.tar.gz
nixlib-784d94c2581e8e4221c5a1a25e29402d83c5feaa.tar.bz2
nixlib-784d94c2581e8e4221c5a1a25e29402d83c5feaa.tar.lz
nixlib-784d94c2581e8e4221c5a1a25e29402d83c5feaa.tar.xz
nixlib-784d94c2581e8e4221c5a1a25e29402d83c5feaa.tar.zst
nixlib-784d94c2581e8e4221c5a1a25e29402d83c5feaa.zip
Adding Berkeley Labs Checkpointing/Restarting kernel module.. Work in progress - does not work with my 2.6.25-rc5-mm1. Maybe works on 2.6.23.. Added just not to comment out from all-packages.nix
svn path=/nixpkgs/trunk/; revision=11563
Diffstat (limited to 'pkgs/os-specific/linux/blcr')
-rw-r--r--pkgs/os-specific/linux/blcr/0.6.5.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/blcr/0.6.5.nix b/pkgs/os-specific/linux/blcr/0.6.5.nix
new file mode 100644
index 000000000000..a5d09832334d
--- /dev/null
+++ b/pkgs/os-specific/linux/blcr/0.6.5.nix
@@ -0,0 +1,22 @@
+args : with args; 
+rec {
+  src = fetchurl {
+    url = http://ftg.lbl.gov/CheckpointRestart/downloads/blcr-0.6.5.tar.gz ;
+    sha256 = "195gwxb38wmhzxr0jr349g6pxlwz6id2y6szv2akprv5ypy9py0g";
+  };
+
+  buildInputs = [perl];
+  configureFlags = [ 
+    "--with-linux=$(ls -d ${kernel}/lib/modules/*/build)" 
+    "--with-kmod-dir=$out/lib/modules/$(cd ${kernel}/lib/modules; ls -d 2.6.*)" 
+    "--with-system-map=${kernel}/System.map"
+  ];
+
+  /* doConfigure should be specified separately */
+  phaseNames = ["doConfigure" "doMakeInstall"];
+      
+  name = "blcr-" + version;
+  meta = {
+    description = "Berkley Labs Checkpointing/Restarting module (save process tree state)";
+  };
+}