2009-07-28 21:43:40 +02:00
|
|
|
{ stdenv, fetchurl, m4, perl }:
|
2004-04-01 00:47:06 +02:00
|
|
|
|
2008-07-01 10:31:48 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2009-07-28 21:43:40 +02:00
|
|
|
name = "autoconf-2.64";
|
|
|
|
|
2003-11-25 14:46:24 +01:00
|
|
|
src = fetchurl {
|
2009-07-28 21:43:40 +02:00
|
|
|
url = "mirror://gnu/autoconf/${name}.tar.bz2";
|
|
|
|
sha256 = "11damk9x09616cjdfxx9y73igd96zzylgq0l4j57qzify6nlqbw7";
|
2008-07-01 10:31:48 +02:00
|
|
|
};
|
|
|
|
|
2009-07-29 21:39:15 +02:00
|
|
|
patches = [ ./test-suite-fix.patch ];
|
|
|
|
|
2009-07-28 21:43:40 +02:00
|
|
|
buildInputs = [ m4 perl ];
|
2008-07-01 10:31:48 +02:00
|
|
|
|
2009-07-30 17:26:30 +02:00
|
|
|
# Work around a known issue in Cygwin. See
|
|
|
|
# http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/6822 for
|
|
|
|
# details.
|
|
|
|
doCheck = (builtins.currentSystem != "i686-cygwin");
|
2008-07-01 10:31:48 +02:00
|
|
|
|
2008-08-04 16:37:51 +02:00
|
|
|
# Don't fixup "#! /bin/sh" in Autoconf, otherwise it will use the
|
|
|
|
# "fixed" path in generated files!
|
|
|
|
dontPatchShebangs = true;
|
|
|
|
|
2008-07-01 10:31:48 +02:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.gnu.org/software/autoconf/;
|
|
|
|
description = "GNU Autoconf, a 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 = "GPLv2+";
|
2009-07-28 21:43:40 +02:00
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
2003-11-25 14:46:24 +01:00
|
|
|
};
|
|
|
|
}
|