Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "Generic library support script" |
| 2 | DESCRIPTION = "This is GNU libtool, a generic library support script. \ |
| 3 | Libtool hides the complexity of generating special library types \ |
| 4 | (such as shared libraries) behind a consistent interface." |
| 5 | HOMEPAGE = "http://www.gnu.org/software/libtool/libtool.html" |
| 6 | SECTION = "devel" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame^] | 7 | LICENSE = "GPL-2.0-only & LGPL-2.1-only" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
| 9 | file://libltdl/COPYING.LIB;md5=4fbd65380cdd255951079008b364516c " |
| 10 | |
| 11 | SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \ |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 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 \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 17 | file://dont-depend-on-help2man.patch \ |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 18 | file://0006-libtool.m4-Handle-as-a-sysroot-correctly.patch \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 19 | file://nohardcodepaths.patch \ |
| 20 | file://unwind-opt-parsing.patch \ |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 21 | file://0007-libtool-Fix-support-for-NIOS2-processor.patch \ |
| 22 | file://0008-libtool-Check-for-static-libs-for-internal-compiler-.patch \ |
| 23 | file://0009-Makefile.am-make-sure-autoheader-run-before-autoconf.patch \ |
| 24 | file://0010-Makefile.am-make-sure-autoheader-run-before-automake.patch \ |
| 25 | file://0011-ltmain.in-Handle-prefix-map-compiler-options-correct.patch \ |
| 26 | file://0012-libtool.m4-For-reproducibility-stop-encoding-hostnam.patch \ |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 27 | file://libool.m4-add-ARFLAGS-variable.patch \ |
| 28 | file://ARFLAGS-use-cr-instead-of-cru-by-default.patch \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 29 | " |
| 30 | |
| 31 | SRC_URI[md5sum] = "addf44b646ddb4e3919805aa88fa7c5e" |
| 32 | SRC_URI[sha256sum] = "e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3" |
| 33 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 34 | do_compile:prepend () { |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 35 | # Sometimes this file doesn't get rebuilt, force the issue |
| 36 | rm -f ${S}/build-aux/ltmain.sh |
| 37 | make build-aux/ltmain.sh |
| 38 | ./config.status |
| 39 | } |
| 40 | |
| 41 | inherit autotools texinfo |
| 42 | EXTRA_AUTORECONF = "--exclude=libtoolize" |
| 43 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 44 | CACHED_CONFIGUREVARS += "ac_cv_path_GREP=grep" |
| 45 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 46 | DEPENDS = "libtool-native" |
| 47 | |
| 48 | PACKAGES =+ "libltdl" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 49 | FILES:${PN} += "${datadir}/aclocal" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 50 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 51 | FILES:${PN}-dev:remove = "${datadir}/aclocal" |
| 52 | FILES:libltdl = "${libdir}/libltdl${SOLIBS}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 53 | |
| 54 | export CONFIG_SHELL="/bin/bash" |