2009-11-19 23:28:45 +00:00
|
|
|
{ stdenv, fetchurl, texinfo, perl }:
|
|
|
|
|
2009-11-22 16:03:56 +00:00
|
|
|
let build = import ./common.nix;
|
|
|
|
in
|
2010-05-12 19:31:18 +00:00
|
|
|
/* null cross builder */
|
|
|
|
build null {
|
2009-11-22 16:03:56 +00:00
|
|
|
name = "glibc-info";
|
2009-11-19 23:28:45 +00:00
|
|
|
|
2009-11-22 16:03:56 +00:00
|
|
|
inherit fetchurl stdenv;
|
2009-11-19 23:28:45 +00:00
|
|
|
|
2009-11-22 16:03:56 +00:00
|
|
|
configureFlags = [ "--enable-add-ons" ];
|
2009-11-19 23:28:45 +00:00
|
|
|
|
2009-11-22 16:03:56 +00:00
|
|
|
buildInputs = [ texinfo perl ];
|
2009-11-19 23:28:45 +00:00
|
|
|
|
2009-11-22 16:03:56 +00:00
|
|
|
buildPhase = "make info";
|
2009-11-19 23:28:45 +00:00
|
|
|
|
2009-11-22 16:03:56 +00:00
|
|
|
# I don't know why the info is not generated in 'build'
|
|
|
|
# Somehow building the info still does not work, because the final
|
|
|
|
# libc.info hasn't a Top node.
|
|
|
|
installPhase = ''
|
|
|
|
ensureDir "$out/share/info"
|
|
|
|
cp -v "../$sourceRoot/manual/"*.info* "$out/share/info"
|
|
|
|
'';
|
2009-11-19 23:28:45 +00:00
|
|
|
|
2009-11-22 16:03:56 +00:00
|
|
|
meta.description = "GNU Info manual of the GNU C Library";
|
|
|
|
}
|