From 21e500ac88dfb3b58ff0f72d6c7c8d8f6e3e44cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 1 Jul 2008 08:07:22 +0000 Subject: [PATCH] GNU Autoconf 2.62 improvements. svn path=/nixpkgs/trunk/; revision=12228 --- pkgs/development/tools/misc/autoconf/2.62.nix | 26 ++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/misc/autoconf/2.62.nix b/pkgs/development/tools/misc/autoconf/2.62.nix index bf6c233c766..4194fcb94bd 100644 --- a/pkgs/development/tools/misc/autoconf/2.62.nix +++ b/pkgs/development/tools/misc/autoconf/2.62.nix @@ -1,11 +1,31 @@ {stdenv, fetchurl, m4, perl, lzma}: -stdenv.mkDerivation { - name = "autoconf-2.61"; +stdenv.mkDerivation rec { + name = "autoconf-2.62"; src = fetchurl { - url = ftp://ftp.gnu.org/pub/gnu/autoconf/autoconf-2.62.tar.lzma; + url = "mirror://gnu/autoconf/${name}.tar.lzma"; sha256 = "0wc70i36cjw5kszvp50d02w8fzh2yxnsa9la6chrf7csb0dnn4jn"; }; + buildInputs = [m4 perl lzma]; unpackCmd="lzma -d < $src | tar -x "; + + doCheck = true; + + 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+"; + }; }