Add GNU Texinfo 4.9, use it to produce GCC 4.x documentation.
svn path=/nixpkgs/trunk/; revision=10805
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
{ stdenv, fetchurl, noSysDirs
|
||||
, langC ? true, langCC ? true, langF77 ? false
|
||||
, profiledCompiler ? false
|
||||
,gmp ? null , mpfr ? null
|
||||
, gmp ? null , mpfr ? null
|
||||
, texinfo ? null
|
||||
}:
|
||||
|
||||
assert langC;
|
||||
@@ -24,6 +25,7 @@ stdenv.mkDerivation {
|
||||
buildInputs = []
|
||||
++ (if gmp != null then [gmp] else [])
|
||||
++ (if mpfr != null then [mpfr] else [])
|
||||
++ (if texinfo != null then [texinfo] else [])
|
||||
;
|
||||
|
||||
configureFlags = "
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
, staticCompiler ? false
|
||||
, gmp ? null
|
||||
, mpfr ? null
|
||||
, texinfo ? null
|
||||
}:
|
||||
|
||||
assert langC || langF77;
|
||||
@@ -66,5 +67,6 @@ stdenv.mkDerivation ({
|
||||
// (if gmp != null || mpfr != null then {
|
||||
buildInputs = []
|
||||
++ (if gmp != null then [gmp] else [])
|
||||
++ (if mpfr != null then [mpfr] else []);
|
||||
++ (if mpfr != null then [mpfr] else [])
|
||||
++ (if texinfo != null then [texinfo] else []);
|
||||
} else {}))
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
, langC ? true, langCC ? true, langF77 ? false
|
||||
, profiledCompiler ? false
|
||||
, staticCompiler ? false
|
||||
, texinfo ? null
|
||||
}:
|
||||
|
||||
assert langC;
|
||||
@@ -32,6 +33,9 @@ stdenv.mkDerivation {
|
||||
|
||||
inherit noSysDirs profiledCompiler staticCompiler;
|
||||
|
||||
buildInputs = []
|
||||
++ optional (texinfo != null) [texinfo];
|
||||
|
||||
configureFlags = "
|
||||
--disable-multilib
|
||||
--disable-libstdcxx-pch
|
||||
|
||||
10
pkgs/development/tools/misc/texinfo/4.9.nix
Normal file
10
pkgs/development/tools/misc/texinfo/4.9.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{stdenv, fetchurl, ncurses}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "texinfo-4.9";
|
||||
src = fetchurl {
|
||||
url = mirror://gnu/texinfo/texinfo-4.9.tar.bz2;
|
||||
sha256 = "0h7q9h405m88fjj067brzniiv8306ryl087pgjpmbpd2jci9h6g7";
|
||||
};
|
||||
buildInputs = [ncurses];
|
||||
}
|
||||
Reference in New Issue
Block a user