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