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