blob: 7104c98c203643f40d1fc3a36723695f76dc0e60 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "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 = "GPLv2 & LGPLv2.1"
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://trailingslash.patch \
13 file://rename-with-sysroot.patch \
14 file://use-sysroot-in-libpath.patch \
15 file://fix-final-rpath.patch \
16 file://fix-rpath.patch \
17 file://norm-rpath.patch \
18 file://dont-depend-on-help2man.patch \
19 file://fix-resolve-lt-sysroot.patch \
20 file://nohardcodepaths.patch \
21 file://unwind-opt-parsing.patch \
Patrick Williamsf1e5d692016-03-30 15:21:19 -050022 file://0001-libtool-Fix-support-for-NIOS2-processor.patch \
Brad Bishop19323692019-04-05 15:28:33 -040023 file://0001-libtool-Check-for-static-libs-for-internal-compiler-.patch \
Andrew Geissler95ac1b82021-03-31 14:34:31 -050024 file://0001-Makefile.am-make-sure-autoheader-run-before-autoconf.patch \
Andrew Geisslerc926e172021-05-07 16:11:35 -050025 file://0001-Makefile.am-make-sure-autoheader-run-before-automake.patch \
Patrick Williams0ca19cc2021-08-16 14:03:13 -050026 file://lto-prefix.patch \
Patrick Williams93c203f2021-10-06 16:15:23 -050027 file://debian-no_hostname.patch \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050028 "
29
30SRC_URI[md5sum] = "addf44b646ddb4e3919805aa88fa7c5e"
31SRC_URI[sha256sum] = "e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3"
32
Patrick Williams213cb262021-08-07 19:21:33 -050033do_compile:prepend () {
Patrick Williamsc124f4f2015-09-15 14:41:29 -050034 # Sometimes this file doesn't get rebuilt, force the issue
35 rm -f ${S}/build-aux/ltmain.sh
36 make build-aux/ltmain.sh
37 ./config.status
38}
39
40inherit autotools texinfo
41EXTRA_AUTORECONF = "--exclude=libtoolize"
42
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050043CACHED_CONFIGUREVARS += "ac_cv_path_GREP=grep"
44
Patrick Williamsc124f4f2015-09-15 14:41:29 -050045DEPENDS = "libtool-native"
46
47PACKAGES =+ "libltdl"
Patrick Williams213cb262021-08-07 19:21:33 -050048FILES:${PN} += "${datadir}/aclocal"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050049
Patrick Williams213cb262021-08-07 19:21:33 -050050FILES:${PN}-dev:remove = "${datadir}/aclocal"
51FILES:libltdl = "${libdir}/libltdl${SOLIBS}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050052
53export CONFIG_SHELL="/bin/bash"