at v192 1.3 kB view raw
1{ stdenv, fetchurl, m4, perl, help2man }: 2 3stdenv.mkDerivation rec { 4 name = "libtool-2.4.6"; 5 6 src = fetchurl { 7 url = "mirror://gnu/libtool/${name}.tar.gz"; 8 sha256 = "1qq61k6lp1fp75xs398yzi6wvbx232l7xbyn3p13cnh27mflvgg3"; 9 }; 10 11 propagatedNativeBuildInputs = [ m4 ]; 12 nativeBuildInputs = [ perl help2man ]; 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 # XXX: The GNU ld wrapper does all sorts of nasty things wrt. RPATH, which 19 # leads to the failure of a number of tests. 20 doCheck = false; 21 22 # Don't run the native `strip' when cross-compiling. This breaks at least 23 # with `.a' files for MinGW. 24 dontStrip = stdenv ? cross; 25 26 meta = { 27 description = "GNU Libtool, a generic library support script"; 28 29 longDescription = '' 30 GNU libtool is a generic library support script. Libtool hides 31 the complexity of using shared libraries behind a consistent, 32 portable interface. 33 34 To use libtool, add the new generic library building commands to 35 your Makefile, Makefile.in, or Makefile.am. See the 36 documentation for details. 37 ''; 38 39 homepage = http://www.gnu.org/software/libtool/; 40 41 license = stdenv.lib.licenses.gpl2Plus; 42 43 maintainers = [ ]; 44 }; 45} 46