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" |
| 7 | LICENSE = "GPLv2 & LGPLv2.1" |
| 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 \ |
| 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 \ |
| 22 | " |
| 23 | |
| 24 | SRC_URI[md5sum] = "addf44b646ddb4e3919805aa88fa7c5e" |
| 25 | SRC_URI[sha256sum] = "e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3" |
| 26 | |
| 27 | do_compile_prepend () { |
| 28 | # Sometimes this file doesn't get rebuilt, force the issue |
| 29 | rm -f ${S}/build-aux/ltmain.sh |
| 30 | make build-aux/ltmain.sh |
| 31 | ./config.status |
| 32 | } |
| 33 | |
| 34 | inherit autotools texinfo |
| 35 | EXTRA_AUTORECONF = "--exclude=libtoolize" |
| 36 | |
| 37 | DEPENDS = "libtool-native" |
| 38 | |
| 39 | PACKAGES =+ "libltdl" |
| 40 | FILES_${PN} += "${datadir}/aclocal" |
| 41 | |
| 42 | FILES_${PN}-dev_remove = "${datadir}/aclocal" |
| 43 | FILES_libltdl = "${libdir}/libltdl${SOLIBS}" |
| 44 | |
| 45 | export CONFIG_SHELL="/bin/bash" |