2005-08-23 16:19:16 +02:00
|
|
|
{stdenv, fetchurl, db4, groff}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-02-10 18:40:39 +01:00
|
|
|
name = "man-db-2.5.1";
|
|
|
|
|
2005-08-23 16:19:16 +02:00
|
|
|
src = fetchurl {
|
2008-02-10 18:40:39 +01:00
|
|
|
url = http://download.savannah.nongnu.org/releases/man-db/man-db-2.5.1.tar.gz;
|
|
|
|
sha256 = "178w1fk23ffh8vabj29cn0yyg5ps7bwy1zrrrcsw8aypbh3sfjy3";
|
2005-08-23 16:19:16 +02:00
|
|
|
};
|
2008-02-10 18:40:39 +01:00
|
|
|
|
2005-08-23 16:19:16 +02:00
|
|
|
buildInputs = [db4 groff];
|
2008-02-10 18:40:39 +01:00
|
|
|
|
|
|
|
configureFlags = ''
|
|
|
|
--disable-setuid
|
|
|
|
--with-nroff=${groff}/bin/nroff
|
|
|
|
--with-tbl=${groff}/bin/tbl
|
|
|
|
--with-eqn=${groff}/bin/eqn
|
|
|
|
--with-neqn=${groff}/bin/neqn
|
|
|
|
'';
|
|
|
|
|
|
|
|
troff = "${groff}/bin/troff";
|
|
|
|
|
2007-01-09 18:09:44 +01:00
|
|
|
patches = [
|
|
|
|
# Search in "share/man" relative to each path in $PATH (in addition to "man").
|
|
|
|
./share.patch
|
|
|
|
];
|
2008-02-10 18:40:39 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.nongnu.org/man-db/;
|
|
|
|
description = "An implementation of the standard Unix documentation system accessed using the man command";
|
|
|
|
};
|
2005-08-23 16:19:16 +02:00
|
|
|
}
|