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 {
|
2012-07-10 15:34:38 +02:00
|
|
|
name = "automake-1.11.6";
|
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 {
|
2012-07-10 15:34:38 +02:00
|
|
|
url = "mirror://gnu/automake/${name}.tar.xz";
|
|
|
|
sha256 = "1ffbc6cc41f0ea6c864fbe9485b981679dc5e350f6c4bc6c3512f5a4226936b5";
|
2009-05-20 14:20:51 +02:00
|
|
|
};
|
|
|
|
|
2012-07-07 13:56:19 +02:00
|
|
|
patches = [ ./fix-test-autoconf-2.69.patch ];
|
|
|
|
|
2009-05-20 14:20:51 +02:00
|
|
|
buildInputs = [perl autoconf makeWrapper];
|
|
|
|
|
2012-08-15 10:13:02 +02:00
|
|
|
inherit doCheck;
|
2009-05-20 14:20:51 +02:00
|
|
|
|
|
|
|
# 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
|
|
|
|
2012-07-07 13:56:19 +02:00
|
|
|
# Run the test suite in parallel.
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|