blob: a07df720acff338da84cbc0c7637bdba9fc7e24d [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001SUMMARY = "Generic library support script"
2DESCRIPTION = "This is GNU libtool, a generic library support script. \
3Libtool hides the complexity of generating special library types \
4(such as shared libraries) behind a consistent interface."
5HOMEPAGE = "http://www.gnu.org/software/libtool/libtool.html"
6SECTION = "devel"
7LICENSE = "GPL-2.0-only & LGPL-2.1-only"
8LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
9 file://libltdl/COPYING.LIB;md5=4fbd65380cdd255951079008b364516c "
10
11SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
12 file://0001-ltmain.in-Handle-trailing-slashes-on-install-command.patch \
13 file://0002-libtool.m4-Rename-the-with-sysroot-option-to-avoid-c.patch \
14 file://0003-ltmain.in-Add-missing-sysroot-to-library-path.patch \
15 file://0004-ltmain.sh-Fix-sysroot-paths-being-encoded-into-RPATH.patch \
16 file://0005-ltmain.in-Don-t-encode-RATHS-which-match-default-lin.patch \
17 file://dont-depend-on-help2man.patch \
18 file://0006-libtool.m4-Handle-as-a-sysroot-correctly.patch \
19 file://nohardcodepaths.patch \
20 file://0007-libtool-Fix-support-for-NIOS2-processor.patch \
21 file://0008-libtool-Check-for-static-libs-for-internal-compiler-.patch \
22 file://0009-Makefile.am-make-sure-autoheader-run-before-autoconf.patch \
23 file://0010-Makefile.am-make-sure-autoheader-run-before-automake.patch \
24 file://0011-ltmain.in-Handle-prefix-map-compiler-options-correct.patch \
25 file://0012-libtool.m4-For-reproducibility-stop-encoding-hostnam.patch \
26 file://0001-ltmain.in-Parse-additional-clang-options.patch \
27 "
28
29SRC_URI[sha256sum] = "04e96c2404ea70c590c546eba4202a4e12722c640016c12b9b2f1ce3d481e9a8"
30
31do_compile:prepend () {
32 # Sometimes this file doesn't get rebuilt, force the issue
33 rm -f ${S}/build-aux/ltmain.sh
34 make build-aux/ltmain.sh
35 ./config.status
36}
37
38inherit autotools texinfo
39EXTRA_AUTORECONF = "--exclude=libtoolize"
40
41CACHED_CONFIGUREVARS += "ac_cv_path_GREP=grep"
42
43DEPENDS = "libtool-native"
44
45PACKAGES =+ "libltdl"
46FILES:${PN} += "${datadir}/aclocal"
47
48FILES:${PN}-dev:remove = "${datadir}/aclocal"
49FILES:libltdl = "${libdir}/libltdl${SOLIBS}"
50
51export CONFIG_SHELL="/bin/bash"