mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
0846ca2e5b
will use the "fixed" path in generated files. svn path=/nixpkgs/trunk/; revision=12485
38 lines
1.1 KiB
Nix
38 lines
1.1 KiB
Nix
{stdenv, fetchurl, m4, perl, lzma}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "autoconf-2.62";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/autoconf/${name}.tar.lzma";
|
|
sha256 = "0wc70i36cjw5kszvp50d02w8fzh2yxnsa9la6chrf7csb0dnn4jn";
|
|
};
|
|
|
|
buildInputs = [m4 perl lzma];
|
|
|
|
unpackCmd="lzma -d < $src | tar -x ";
|
|
|
|
doCheck = true;
|
|
|
|
# Don't fixup "#! /bin/sh" in Autoconf, otherwise it will use the
|
|
# "fixed" path in generated files!
|
|
dontPatchShebangs = 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+";
|
|
};
|
|
}
|