2021-01-23 12:26:19 +00:00
|
|
|
{lib, stdenv, fetchurl, m4, perl}:
|
2004-03-31 22:47:06 +00:00
|
|
|
|
2008-02-15 21:25:44 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-06-20 10:34:30 +00:00
|
|
|
pname = "libtool";
|
|
|
|
version = "1.5.26";
|
2017-10-18 02:42:14 +00:00
|
|
|
|
2003-12-23 20:51:58 +00:00
|
|
|
src = fetchurl {
|
2021-06-20 10:34:30 +00:00
|
|
|
url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
|
2008-02-15 21:25:44 +00:00
|
|
|
sha256 = "029ggq5kri1gjn6nfqmgw4w920gyfzscjjxbsxxidal5zqsawd8w";
|
2003-12-23 20:51:58 +00:00
|
|
|
};
|
2017-10-18 02:42:14 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [m4];
|
|
|
|
buildInputs = [perl];
|
2008-08-04 14:37:51 +00:00
|
|
|
|
|
|
|
# Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the
|
|
|
|
# "fixed" path in generated files!
|
|
|
|
dontPatchShebangs = true;
|
2022-07-03 14:26:41 +00:00
|
|
|
dontFixLibtool = true;
|
2008-11-03 10:23:33 +00:00
|
|
|
|
|
|
|
meta = {
|
2014-08-24 14:21:08 +00:00
|
|
|
description = "Generic library support script";
|
2008-11-03 10:23:33 +00:00
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
GNU libtool is a generic library support script. Libtool hides
|
|
|
|
the complexity of using shared libraries behind a consistent,
|
|
|
|
portable interface.
|
|
|
|
|
|
|
|
To use libtool, add the new generic library building commands to
|
|
|
|
your Makefile, Makefile.in, or Makefile.am. See the
|
|
|
|
documentation for details.
|
|
|
|
'';
|
|
|
|
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.gnu.org/software/libtool/";
|
2008-11-03 10:23:33 +00:00
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.unix;
|
2023-07-31 19:49:41 +00:00
|
|
|
|
|
|
|
mainProgram = "libtool";
|
2008-11-03 10:23:33 +00:00
|
|
|
};
|
2003-12-23 20:51:58 +00:00
|
|
|
}
|