2011-01-19 15:43:40 +00:00
|
|
|
require libtool-${PV}.inc
|
2008-04-13 22:15:59 +00:00
|
|
|
|
2010-06-21 10:46:34 +00:00
|
|
|
DEPENDS = ""
|
|
|
|
|
2013-02-12 19:36:44 +00:00
|
|
|
PR = "${INC_PR}.1"
|
2010-12-21 18:46:15 +00:00
|
|
|
SRC_URI += "file://prefix.patch"
|
2008-04-13 22:15:59 +00:00
|
|
|
|
|
|
|
inherit native
|
|
|
|
|
2010-12-21 18:46:15 +00:00
|
|
|
EXTRA_OECONF = " --with-libtool-sysroot=${STAGING_DIR_NATIVE}"
|
|
|
|
|
2008-05-05 14:32:03 +00:00
|
|
|
do_configure_prepend () {
|
|
|
|
# Remove any existing libtool m4 since old stale versions would break
|
|
|
|
# any upgrade
|
|
|
|
rm -f ${STAGING_DATADIR}/aclocal/libtool.m4
|
|
|
|
rm -f ${STAGING_DATADIR}/aclocal/lt*.m4
|
|
|
|
}
|
|
|
|
|
2008-04-13 22:15:59 +00:00
|
|
|
do_install () {
|
2009-11-17 00:15:07 +00:00
|
|
|
autotools_do_install
|
|
|
|
install -d ${D}${bindir}/
|
|
|
|
install -m 0755 ${HOST_SYS}-libtool ${D}${bindir}/${HOST_SYS}-libtool
|
2008-04-13 22:15:59 +00:00
|
|
|
}
|
2010-12-08 04:06:29 +00:00
|
|
|
|
2014-01-23 12:10:01 +00:00
|
|
|
export CONFIG_SHELL="/bin/bash"
|