2021-01-23 13:26:19 +01:00
|
|
|
{lib, stdenv, fetchurl, m4, perl}:
|
2004-04-01 00:47:06 +02:00
|
|
|
|
2020-06-26 22:44:45 +02:00
|
|
|
# Note: this package is used for bootstrapping fetchurl, and thus
|
|
|
|
# cannot use fetchpatch! All mutable patches (generated by GitHub or
|
|
|
|
# cgit) that are needed here should be included directly in Nixpkgs as
|
|
|
|
# files.
|
|
|
|
|
2008-02-15 22:25:44 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2021-06-20 12:34:30 +02:00
|
|
|
pname = "libtool";
|
|
|
|
version = "1.5.26";
|
2017-10-18 04:42:14 +02:00
|
|
|
|
2003-12-23 21:51:58 +01:00
|
|
|
src = fetchurl {
|
2021-06-20 12:34:30 +02:00
|
|
|
url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
|
2008-02-15 22:25:44 +01:00
|
|
|
sha256 = "029ggq5kri1gjn6nfqmgw4w920gyfzscjjxbsxxidal5zqsawd8w";
|
2003-12-23 21:51:58 +01:00
|
|
|
};
|
2017-10-18 04:42:14 +02:00
|
|
|
|
|
|
|
nativeBuildInputs = [m4];
|
|
|
|
buildInputs = [perl];
|
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;
|
2008-11-03 11:23:33 +01:00
|
|
|
|
|
|
|
meta = {
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "Generic library support script";
|
2008-11-03 11:23:33 +01: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 03:11:51 +02:00
|
|
|
homepage = "https://www.gnu.org/software/libtool/";
|
2008-11-03 11:23:33 +01:00
|
|
|
|
2021-01-23 13:26:19 +01:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.unix;
|
2008-11-03 11:23:33 +01:00
|
|
|
};
|
2003-12-23 21:51:58 +01:00
|
|
|
}
|