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 {
|
2009-12-10 21:54:58 +01:00
|
|
|
name = "automake-1.10.3";
|
2008-07-02 17:27:07 +02:00
|
|
|
|
2006-12-25 21:00:12 +01:00
|
|
|
builder = ./builder.sh;
|
2009-12-10 21:54:58 +01: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";
|
2009-12-10 21:54:58 +01:00
|
|
|
sha256 = "1p0sgv8zl6ah6vwpqf7jkrjr3cw8ydpmnbi0ljb1dhrrp0xv92p9";
|
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";
|
2009-12-10 21:54:58 +01:00
|
|
|
|
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;
|
2009-12-10 21:54:58 +01:00
|
|
|
|
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+";
|
2009-12-10 21:54:58 +01:00
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
2008-07-02 17:27:07 +02:00
|
|
|
};
|
2006-12-25 21:00:12 +01:00
|
|
|
}
|