2009-05-20 14:21:53 +02:00
|
|
|
{stdenv, fetchurl, perl, autoconf, makeWrapper, doCheck ? true}:
|
2009-05-20 14:20:51 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2009-12-10 21:54:58 +01:00
|
|
|
name = "automake-1.11.1";
|
2009-05-20 14:20:51 +02:00
|
|
|
|
2011-09-26 14:07:21 +02: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 14:20:51 +02:00
|
|
|
builder = ./builder.sh;
|
2009-12-10 21:54:58 +01:00
|
|
|
|
2009-05-20 14:20:51 +02:00
|
|
|
setupHook = ./setup-hook.sh;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/automake/${name}.tar.bz2";
|
2009-12-10 21:54:58 +01:00
|
|
|
sha256 = "1bn7jl11wbkyy4ivgja92zkyjj8w3agwp2xnf7g8f7qa1qy9s5av";
|
2009-05-20 14:20:51 +02: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 21:54:58 +01:00
|
|
|
|
2009-05-20 14:20:51 +02:00
|
|
|
# Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the
|
|
|
|
# "fixed" path in generated files!
|
|
|
|
dontPatchShebangs = true;
|
2009-12-10 21:54:58 +01:00
|
|
|
|
2010-07-05 17:55:52 +02:00
|
|
|
patches = [ ./more-robust-silent-tests.patch ];
|
|
|
|
|
2009-05-20 14:20:51 +02: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 21:54:58 +01:00
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
2009-05-20 14:20:51 +02:00
|
|
|
};
|
|
|
|
}
|