2009-11-20 00:28:45 +01:00
|
|
|
{ stdenv, fetchurl, texinfo, perl }:
|
|
|
|
|
2009-11-22 17:03:56 +01:00
|
|
|
let build = import ./common.nix;
|
|
|
|
in
|
2010-05-12 21:31:18 +02:00
|
|
|
/* null cross builder */
|
|
|
|
build null {
|
2009-11-22 17:03:56 +01:00
|
|
|
name = "glibc-info";
|
2009-11-20 00:28:45 +01:00
|
|
|
|
2009-11-22 17:03:56 +01:00
|
|
|
inherit fetchurl stdenv;
|
2009-11-20 00:28:45 +01:00
|
|
|
|
2009-11-22 17:03:56 +01:00
|
|
|
configureFlags = [ "--enable-add-ons" ];
|
2009-11-20 00:28:45 +01:00
|
|
|
|
2009-11-22 17:03:56 +01:00
|
|
|
buildInputs = [ texinfo perl ];
|
2009-11-20 00:28:45 +01:00
|
|
|
|
2009-11-22 17:03:56 +01:00
|
|
|
buildPhase = "make info";
|
2009-11-20 00:28:45 +01:00
|
|
|
|
2009-11-22 17:03:56 +01: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-20 00:28:45 +01:00
|
|
|
|
2009-11-22 17:03:56 +01:00
|
|
|
meta.description = "GNU Info manual of the GNU C Library";
|
|
|
|
}
|