3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/libsmbios/default.nix
Eelco Dolstra cb3b10a646 * Added libsmbios for access to Dell-specific hardware features.
* Added more optional Hal dependencies.

svn path=/nixpkgs/trunk/; revision=8844
2007-06-07 22:02:12 +00:00

18 lines
523 B
Nix

{stdenv, fetchurl, libxml2}:
stdenv.mkDerivation {
name = "libsmbios-0.13.6";
src = fetchurl {
url = http://linux.dell.com/libsmbios/download/libsmbios/libsmbios-0.13.6/libsmbios-0.13.6.tar.gz;
sha256 = "0zjch3xzyr289x64wzaj67l4jj0x645krxmx4yqn18hp2innfffs";
};
buildInputs = [libxml2];
configureFlags = "--disable-static"; # bloated enough as it is...
# `make install' forgets to install the header files.
postInstall = "
ensureDir $out/include
cp -prvd include/smbios $out/include/
";
}