libtool: update
I see nothing dangerous in NEWS. Also refactored the expression.
This commit is contained in:
parent
e8288a7e2e
commit
ff1a5a2528
|
@ -1,14 +1,15 @@
|
||||||
{ stdenv, fetchurl, m4, perl, lzma }:
|
{ stdenv, fetchurl, m4, perl, help2man }:
|
||||||
|
|
||||||
stdenv.mkDerivation (rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libtool-2.4.2";
|
name = "libtool-2.4.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/libtool/${name}.tar.gz";
|
url = "mirror://gnu/libtool/${name}.tar.gz";
|
||||||
sha256 = "0649qfpzkswgcj9vqkkr9rn4nlcx80faxpyqscy2k1x9c94f93dk";
|
sha256 = "11v9gl8ancavx7179n6zk4k8hwa0zl4wz4w9z3mffk71gnfb972h";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ lzma m4 perl ];
|
propagatedNativeBuildInputs = [ m4 ];
|
||||||
|
nativeBuildInputs = [ perl help2man ];
|
||||||
|
|
||||||
# Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the
|
# Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the
|
||||||
# "fixed" path in generated files!
|
# "fixed" path in generated files!
|
||||||
|
@ -18,6 +19,10 @@ stdenv.mkDerivation (rec {
|
||||||
# leads to the failure of a number of tests.
|
# leads to the failure of a number of tests.
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
# Don't run the native `strip' when cross-compiling. This breaks at least
|
||||||
|
# with `.a' files for MinGW.
|
||||||
|
dontStrip = stdenv ? cross;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "GNU Libtool, a generic library support script";
|
description = "GNU Libtool, a generic library support script";
|
||||||
|
|
||||||
|
@ -39,10 +44,3 @@ stdenv.mkDerivation (rec {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
|
|
||||||
# Don't run the native `strip' when cross-compiling. This breaks at least
|
|
||||||
# with `.a' files for MinGW.
|
|
||||||
(if (stdenv ? cross)
|
|
||||||
then { dontStrip = true; }
|
|
||||||
else { }))
|
|
||||||
|
|
Loading…
Reference in New Issue