2009-01-03 13:42:36 +00:00
|
|
|
{stdenv, fetchurl, m4, perl, lzma}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "autoconf-2.13";
|
2014-10-25 19:40:23 +00:00
|
|
|
|
2009-01-03 13:42:36 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/autoconf/${name}.tar.gz";
|
|
|
|
sha256 = "07krzl4czczdsgzrrw9fiqx35xcf32naf751khg821g5pqv12qgh";
|
|
|
|
};
|
|
|
|
|
2017-08-14 20:39:03 +00:00
|
|
|
nativebuildInputs = [ lzma ];
|
|
|
|
buildInputs = [ m4 perl ];
|
2009-01-03 13:42:36 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
# Don't fixup "#! /bin/sh" in Autoconf, otherwise it will use the
|
|
|
|
# "fixed" path in generated files!
|
|
|
|
dontPatchShebangs = true;
|
|
|
|
|
2014-10-25 19:40:23 +00:00
|
|
|
postInstall = ''ln -s autoconf "$out"/bin/autoconf-2.13'';
|
|
|
|
|
2009-01-03 13:42:36 +00:00
|
|
|
meta = {
|
2018-12-01 18:22:13 +00:00
|
|
|
homepage = https://www.gnu.org/software/autoconf/;
|
2013-10-05 14:22:46 +00:00
|
|
|
description = "Part of the GNU Build System";
|
2014-02-18 02:13:45 +00:00
|
|
|
branch = "2.13";
|
2009-01-03 13:42:36 +00:00
|
|
|
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2009-01-03 13:42:36 +00:00
|
|
|
};
|
|
|
|
}
|