2018-08-10 04:22:32 +01:00
|
|
|
{ stdenv, fetchurl, perl, autoconf }:
|
2009-05-20 13:20:51 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-07-10 14:34:38 +01:00
|
|
|
name = "automake-1.11.6";
|
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
|
2018-12-01 18:22:13 +00:00
|
|
|
# <https://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 {
|
2012-07-10 14:34:38 +01:00
|
|
|
url = "mirror://gnu/automake/${name}.tar.xz";
|
|
|
|
sha256 = "1ffbc6cc41f0ea6c864fbe9485b981679dc5e350f6c4bc6c3512f5a4226936b5";
|
2009-05-20 13:20:51 +01:00
|
|
|
};
|
|
|
|
|
2018-06-27 15:27:58 +01:00
|
|
|
patches = [ ./fix-test-autoconf-2.69.patch ./fix-perl-5.26.patch ];
|
2012-07-07 12:56:19 +01:00
|
|
|
|
2018-08-10 04:22:32 +01:00
|
|
|
buildInputs = [ perl autoconf ];
|
2009-05-20 13:20:51 +01:00
|
|
|
|
|
|
|
# Disable indented log output from Make, otherwise "make.test" will
|
|
|
|
# fail.
|
|
|
|
preCheck = "unset NIX_INDENT_MAKE";
|
2018-08-10 04:22:32 +01:00
|
|
|
doCheck = false; # takes _a lot_ of time, fails 11 of 782 tests
|
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
|
|
|
|
2012-07-07 12:56:19 +01:00
|
|
|
# Run the test suite in parallel.
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2009-05-20 13:20:51 +01:00
|
|
|
meta = {
|
2014-11-03 10:57:46 +00:00
|
|
|
branch = "1.11";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.gnu.org/software/automake/";
|
2013-10-05 15:22:46 +01:00
|
|
|
description = "GNU standard-compliant makefile generator";
|
2009-05-20 13:20:51 +01:00
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
GNU Automake is a tool for automatically generating
|
|
|
|
`Makefile.in' files compliant with the GNU Coding
|
|
|
|
Standards. Automake requires the use of Autoconf.
|
|
|
|
'';
|
|
|
|
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2009-12-10 20:54:58 +00:00
|
|
|
|
2015-03-20 15:52:02 +00:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2009-05-20 13:20:51 +01:00
|
|
|
};
|
|
|
|
}
|