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