e01be47e53
otherwise aclocal barfs. Updated the builder to use makeWrapper * Made Automake 1.10 the default. * Fixed `make check' in Automake by turning off indented logging in Make (there is a flag for that now). * Disabled the `make check' in Automake by default because it takes a REALLY long time (e.g. more than 2 hours on Cygwin, 50 minutes on Darwin, 25 minutes on Linux) which is a lot for a package that otherwise takes 10 seconds to build. We can add a Hydra job with doCheck enabled to do regression testing. * make-wrapper: allow --run commands to add additional flags to the invocation of the wrapped program. An example is the aclocal wrapper: it adds additional -I ... flags. * make-wrapper: call the wrapped program .foo-wrapped instead of .wrapped-foo to make it easier to tell programs apart in `ps' output. svn path=/nixpkgs/branches/stdenv-updates/; revision=14885
33 lines
862 B
Nix
33 lines
862 B
Nix
{stdenv, fetchurl, perl, autoconf, makeWrapper}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "automake-1.9.6";
|
|
|
|
builder = ./builder.sh;
|
|
|
|
setupHook = ./setup-hook.sh;
|
|
|
|
src = fetchurl {
|
|
url = ftp://ftp.gnu.org/gnu/automake/automake-1.9.6.tar.gz;
|
|
md5 = "c60f77a42f103606981d456f1615f5b4";
|
|
};
|
|
|
|
buildInputs = [perl autoconf makeWrapper];
|
|
|
|
# Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the
|
|
# "fixed" path in generated files!
|
|
dontPatchShebangs = true;
|
|
|
|
meta = {
|
|
homepage = http://www.gnu.org/software/automake/;
|
|
description = "GNU Automake, a GNU standard-compliant makefile generator";
|
|
|
|
longDescription = ''
|
|
GNU Automake is a tool for automatically generating
|
|
`Makefile.in' files compliant with the GNU Coding
|
|
Standards. Automake requires the use of Autoconf.
|
|
'';
|
|
|
|
license = "GPLv2+";
|
|
};
|
|
}
|