2011-11-01 17:47:18 +01:00
|
|
|
{ stdenv, fetchurl, docbook2x, docbook_sgml_dtd_41 }:
|
2005-08-20 23:49:31 +02:00
|
|
|
|
2008-08-11 13:31:57 +02:00
|
|
|
stdenv.mkDerivation {
|
2011-08-16 20:20:59 +02:00
|
|
|
name = "module-init-tools-3.16";
|
2011-11-01 17:47:18 +01:00
|
|
|
|
2008-08-11 13:31:57 +02:00
|
|
|
src = [
|
|
|
|
(fetchurl {
|
2013-01-15 18:43:53 +01:00
|
|
|
url = http://ftp.be.debian.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-3.16.tar.bz2;
|
2011-08-16 20:20:59 +02:00
|
|
|
sha256 = "0jxnz9ahfic79rp93l5wxcbgh4pkv85mwnjlbv1gz3jawv5cvwp1";
|
2008-08-11 13:31:57 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
# Upstream forgot to include the generated manpages. Thankfully
|
|
|
|
# the Gentoo people fixed this for us :-)
|
|
|
|
(fetchurl {
|
2011-08-16 20:20:59 +02:00
|
|
|
url = mirror://gentoo/distfiles/module-init-tools-3.16-man.tar.bz2;
|
|
|
|
sha256 = "1j1nzi87kgsh4scl645fhwhjvljxj83cmdasa4n4p5krhasgw358";
|
2008-08-11 13:31:57 +02:00
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2011-11-01 17:47:18 +01:00
|
|
|
SGML_CATALOG_FILES = "${docbook_sgml_dtd_41}/sgml/dtd/docbook-4.1/docbook.cat";
|
|
|
|
|
2011-10-02 06:03:02 +02:00
|
|
|
patches = [ ./module-dir.patch ./docbook2man.patch ];
|
2011-08-16 20:20:59 +02:00
|
|
|
|
2006-11-03 12:09:06 +01:00
|
|
|
postInstall = "rm $out/sbin/insmod.static"; # don't need it
|
2008-08-11 13:31:57 +02:00
|
|
|
|
2008-06-14 12:14:36 +02:00
|
|
|
# We don't want bash (and therefore glibc) in the closure of the
|
|
|
|
# output, since we want to put this in a initrd.
|
2008-08-11 13:31:57 +02:00
|
|
|
dontPatchShebangs = stdenv ? isDietLibC;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/;
|
|
|
|
description = "Tools for loading and managing Linux kernel modules";
|
|
|
|
};
|
|
|
|
}
|