3
0
Fork 0
forked from mirrors/nixpkgs

Update GDB

svn path=/nixpkgs/trunk/; revision=17742
This commit is contained in:
Michael Raskin 2009-10-10 14:45:38 +00:00
parent 4232caa53f
commit e131df67ee

View file

@ -1,22 +1,17 @@
{ fetchurl, stdenv, ncurses, readline, gmp, mpfr, texinfo }: { fetchurl, stdenv, ncurses, readline, gmp, mpfr, texinfo }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "gdb-6.8"; name = "gdb-7.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnu/gdb/${name}.tar.bz2"; url = "mirror://gnu/gdb/${name}.tar.bz2";
sha256 = "067qpnpgmz9jffi208q5c981xsyn8naq3rkp5ypg477lddcgvpzf"; sha256 = "1k9y271gnnvi0fny8ycydcd79snigwh88rgwi03ad782r2awcl67";
}; };
buildInputs = [ ncurses readline gmp mpfr texinfo ]; buildInputs = [ ncurses readline gmp mpfr texinfo ];
configureFlags = "--with-gmp=${gmp} --with-mpfr=${mpfr} --with-system-readline"; configureFlags = "--with-gmp=${gmp} --with-mpfr=${mpfr} --with-system-readline";
postInstall = ''
# Remove Info files already provided by Binutils and other packages.
rm $out/info/{standards,configure,bfd}.info
'';
meta = { meta = {
description = "GDB, the GNU Project debugger"; description = "GDB, the GNU Project debugger";