2009-07-28 20:43:40 +01:00
|
|
|
{ stdenv, fetchurl, m4, perl }:
|
2004-03-31 23:47:06 +01:00
|
|
|
|
2008-07-01 09:31:48 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2010-10-05 23:08:58 +01:00
|
|
|
name = "autoconf-2.68";
|
2009-07-28 20:43:40 +01:00
|
|
|
|
2003-11-25 13:46:24 +00:00
|
|
|
src = fetchurl {
|
2009-07-28 20:43:40 +01:00
|
|
|
url = "mirror://gnu/autoconf/${name}.tar.bz2";
|
2010-10-05 23:08:58 +01:00
|
|
|
sha256 = "1j1j8d2p3r9mzx8b2hnmfqy2683r2wyyvki6bs9cmm6n7wkzp4f4";
|
2008-07-01 09:31:48 +01:00
|
|
|
};
|
|
|
|
|
2009-07-28 20:43:40 +01:00
|
|
|
buildInputs = [ m4 perl ];
|
2008-07-01 09:31:48 +01:00
|
|
|
|
2009-07-30 16:26:30 +01:00
|
|
|
# Work around a known issue in Cygwin. See
|
|
|
|
# http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/6822 for
|
|
|
|
# details.
|
2011-01-22 22:20:52 +00:00
|
|
|
# There are many test failures on `i386-pc-solaris2.11'.
|
|
|
|
doCheck = (stdenv.system != "i686-cygwin"
|
2011-11-21 14:11:04 +00:00
|
|
|
&& stdenv.system != "i686-solaris");
|
2008-07-01 09:31:48 +01:00
|
|
|
|
2008-08-04 15:37:51 +01:00
|
|
|
# Don't fixup "#! /bin/sh" in Autoconf, otherwise it will use the
|
|
|
|
# "fixed" path in generated files!
|
|
|
|
dontPatchShebangs = true;
|
|
|
|
|
2008-07-01 09:31:48 +01: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 20:43:40 +01:00
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
2003-11-25 13:46:24 +00:00
|
|
|
};
|
|
|
|
}
|