2009-04-05 20:13:59 +02:00
|
|
|
{stdenv, fetchurl, perl, autoconf, makeWrapper, doCheck ? false}:
|
2006-12-25 21:00:12 +01:00
|
|
|
|
2008-07-02 17:27:07 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2008-12-03 09:32:47 +01:00
|
|
|
name = "automake-1.10.2";
|
2008-07-02 17:27:07 +02:00
|
|
|
|
2006-12-25 21:00:12 +01:00
|
|
|
builder = ./builder.sh;
|
2009-04-05 20:13:59 +02:00
|
|
|
|
2006-12-25 21:00:12 +01:00
|
|
|
setupHook = ./setup-hook.sh;
|
2008-07-02 17:27:07 +02:00
|
|
|
|
2006-12-25 21:00:12 +01:00
|
|
|
src = fetchurl {
|
2008-07-02 17:27:07 +02:00
|
|
|
url = "mirror://gnu/automake/${name}.tar.bz2";
|
2008-12-03 09:32:47 +01:00
|
|
|
sha256 = "03v4gsvi71nhqvnxxbhkrksdg5icrn8yda021852njfragzck2n3";
|
2006-12-25 21:00:12 +01:00
|
|
|
};
|
2008-07-02 17:27:07 +02:00
|
|
|
|
2009-04-05 20:13:59 +02:00
|
|
|
buildInputs = [perl autoconf makeWrapper];
|
2008-07-02 17:27:07 +02:00
|
|
|
|
2009-04-05 20:13:59 +02:00
|
|
|
inherit doCheck;
|
2008-07-02 17:27:07 +02:00
|
|
|
|
2009-04-05 20:13:59 +02:00
|
|
|
# Disable indented log output from Make, otherwise "make.test" will
|
|
|
|
# fail.
|
|
|
|
preCheck = "unset NIX_INDENT_MAKE";
|
|
|
|
|
2008-08-04 16:37:51 +02:00
|
|
|
# Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the
|
|
|
|
# "fixed" path in generated files!
|
|
|
|
dontPatchShebangs = true;
|
|
|
|
|
2008-07-02 17:27:07 +02:00
|
|
|
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+";
|
|
|
|
};
|
2006-12-25 21:00:12 +01:00
|
|
|
}
|