* Added hdparm.

svn path=/nixpkgs/trunk/; revision=8344
This commit is contained in:
Eelco Dolstra 2007-03-19 09:31:44 +00:00
parent 2737cd9a8e
commit 9d81167f77
3 changed files with 18 additions and 2 deletions

View File

@ -0,0 +1,14 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "hdparm-6.9";
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/hdparm/hdparm-6.9.tar.gz;
sha256 = "01pyb9jmcv9nl1ig39s1i58fwgijqhjc5q1vxscbw0bd563fvrna";
};
preBuild = "
makeFlagsArray=(sbindir=$out/sbin manprefix=$out)
";
}

View File

@ -11,6 +11,4 @@ stdenv.mkDerivation {
preBuild = "
makeFlagsArray=(PREFIX=$out)
";
#buildInputs = [bison flex openssl];
}

View File

@ -2201,6 +2201,10 @@ rec {
inherit fetchurl stdenv;
};
hdparm = import ../os-specific/linux/hdparm {
inherit fetchurl stdenv;
};
hotplug = import ../os-specific/linux/hotplug {
inherit fetchurl stdenv bash gnused coreutils utillinux gnugrep module_init_tools;
};