2009-05-20 13:21:53 +01:00
|
|
|
{stdenv, fetchurl, perl, autoconf, makeWrapper, doCheck ? true}:
|
2009-05-20 13:20:51 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2009-12-10 20:54:58 +00:00
|
|
|
name = "automake-1.11.1";
|
2009-05-20 13:20:51 +01:00
|
|
|
|
2011-09-26 13:07:21 +01:00
|
|
|
# TODO: Remove the `aclocal' wrapper when $ACLOCAL_PATH support is
|
|
|
|
# available upstream; see
|
|
|
|
# <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9026>.
|
2009-05-20 13:20:51 +01:00
|
|
|
builder = ./builder.sh;
|
2009-12-10 20:54:58 +00:00
|
|
|
|
2009-05-20 13:20:51 +01:00
|
|
|
setupHook = ./setup-hook.sh;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/automake/${name}.tar.bz2";
|
2009-12-10 20:54:58 +00:00
|
|
|
sha256 = "1bn7jl11wbkyy4ivgja92zkyjj8w3agwp2xnf7g8f7qa1qy9s5av";
|
2009-05-20 13:20:51 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [perl autoconf makeWrapper];
|
|
|
|
|
|
|
|
inherit doCheck;
|
|
|
|
|
|
|
|
# Disable indented log output from Make, otherwise "make.test" will
|
|
|
|
# fail.
|
|
|
|
preCheck = "unset NIX_INDENT_MAKE";
|
2009-12-10 20:54:58 +00:00
|
|
|
|
2009-05-20 13:20:51 +01:00
|
|
|
# Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the
|
|
|
|
# "fixed" path in generated files!
|
|
|
|
dontPatchShebangs = true;
|
2009-12-10 20:54:58 +00:00
|
|
|
|
2010-07-05 16:55:52 +01:00
|
|
|
patches = [ ./more-robust-silent-tests.patch ];
|
|
|
|
|
2009-05-20 13:20:51 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.gnu.org/software/automake/;
|
|
|
|
description = "GNU Automake, a GNU standard-compliant makefile generator";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
GNU Automake is a tool for automatically generating
|
|
|
|
`Makefile.in' files compliant with the GNU Coding
|
|
|
|
Standards. Automake requires the use of Autoconf.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = "GPLv2+";
|
2009-12-10 20:54:58 +00:00
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
2009-05-20 13:20:51 +01:00
|
|
|
};
|
|
|
|
}
|