2021-01-23 12:26:19 +00:00
|
|
|
{lib, stdenv, fetchurl, m4, perl}:
|
2004-03-31 23:47:06 +01:00
|
|
|
|
2020-06-26 21:44:45 +01: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 21:25:44 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-06-20 11:34:30 +01:00
|
|
|
pname = "libtool";
|
|
|
|
version = "1.5.26";
|
2017-10-18 03:42:14 +01:00
|
|
|
|
2003-12-23 20:51:58 +00:00
|
|
|
src = fetchurl {
|
2021-06-20 11:34:30 +01: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 03:42:14 +01:00
|
|
|
|
|
|
|
nativeBuildInputs = [m4];
|
|
|
|
buildInputs = [perl];
|
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;
|
2008-11-03 10:23:33 +00:00
|
|
|
|
|
|
|
meta = {
|
2014-08-24 15:21:08 +01: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 02:11:51 +01: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;
|
2008-11-03 10:23:33 +00:00
|
|
|
};
|
2003-12-23 20:51:58 +00:00
|
|
|
}
|