1{stdenv, fetchurl, m4, perl}:
2
3stdenv.mkDerivation rec {
4 name = "libtool-1.5.26";
5
6 src = fetchurl {
7 url = "mirror://gnu/libtool/${name}.tar.gz";
8 sha256 = "029ggq5kri1gjn6nfqmgw4w920gyfzscjjxbsxxidal5zqsawd8w";
9 };
10
11 nativeBuildInputs = [m4];
12 buildInputs = [perl];
13
14 # Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the
15 # "fixed" path in generated files!
16 dontPatchShebangs = true;
17
18 meta = {
19 description = "Generic library support script";
20
21 longDescription = ''
22 GNU libtool is a generic library support script. Libtool hides
23 the complexity of using shared libraries behind a consistent,
24 portable interface.
25
26 To use libtool, add the new generic library building commands to
27 your Makefile, Makefile.in, or Makefile.am. See the
28 documentation for details.
29 '';
30
31 homepage = http://www.gnu.org/software/libtool/;
32
33 license = stdenv.lib.licenses.gpl2Plus;
34 platforms = stdenv.lib.platforms.unix;
35 };
36}