2016-04-27 10:47:22 +01:00
|
|
|
{ stdenv, fetchurl, m4, perl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "autoconf-2.64";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/autoconf/${name}.tar.xz";
|
|
|
|
sha256 = "0j3jdjpf5ly39dlp0bg70h72nzqr059k0x8iqxvaxf106chpgn9j";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ m4 perl ];
|
|
|
|
|
|
|
|
# Work around a known issue in Cygwin. See
|
|
|
|
# http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/6822 for
|
|
|
|
# details.
|
|
|
|
# There are many test failures on `i386-pc-solaris2.11'.
|
|
|
|
#doCheck = ((!stdenv.isCygwin) && (!stdenv.isSunOS));
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
# Don't fixup "#! /bin/sh" in Autoconf, otherwise it will use the
|
|
|
|
# "fixed" path in generated files!
|
|
|
|
dontPatchShebangs = true;
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-04-25 04:20:18 +01:00
|
|
|
# Make the Autotest test suite run in parallel.
|
|
|
|
preCheck =''
|
|
|
|
export TESTSUITEFLAGS="-j$NIX_BUILD_CORES"
|
|
|
|
'';
|
|
|
|
|
|
|
|
doInstallCheck = false; # fails
|
2016-04-27 10:47:22 +01:00
|
|
|
|
|
|
|
meta = {
|
2018-12-01 18:22:13 +00:00
|
|
|
homepage = https://www.gnu.org/software/autoconf/;
|
2016-04-27 10:47:22 +01:00
|
|
|
description = "Part of the GNU Build System";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
GNU Autoconf is an extensible package of M4 macros that produce
|
|
|
|
shell scripts to automatically configure software source code
|
|
|
|
packages. These scripts can adapt the packages to many kinds of
|
|
|
|
UNIX-like systems without manual user intervention. Autoconf
|
|
|
|
creates a configuration script for a package from a template
|
|
|
|
file that lists the operating system features that the package
|
|
|
|
can use, in the form of M4 macro calls.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|