2008-04-13 22:15:59 +00:00
|
|
|
require libtool_${PV}.bb
|
|
|
|
|
2010-06-21 10:46:34 +00:00
|
|
|
DEPENDS = ""
|
|
|
|
|
2010-11-08 19:10:56 +00:00
|
|
|
PR = "r0"
|
2010-07-09 11:11:46 +00:00
|
|
|
SRC_URI_append = " file://cross_compile.patch \
|
|
|
|
file://prefix.patch "
|
2008-04-13 22:15:59 +00:00
|
|
|
|
|
|
|
inherit 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
|
|
|
}
|