[oe-commits] Koen Kooi : libtool-sdk: add recipe for 2.4

git version control git at git.openembedded.org
Mon Oct 11 13:08:59 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 3f4b585e4792b0c2c3b717f732d2a599fc1fcfa3
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=3f4b585e4792b0c2c3b717f732d2a599fc1fcfa3

Author: Koen Kooi <koen at openembedded.org>
Date:   Mon Oct 11 15:05:49 2010 +0200

libtool-sdk: add recipe for 2.4

Without this pkgconfig-sdk fails to build as part of meta-toolchain when using libtool 2.4

---

 recipes/libtool/libtool-sdk_2.4.bb |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/recipes/libtool/libtool-sdk_2.4.bb b/recipes/libtool/libtool-sdk_2.4.bb
new file mode 100644
index 0000000..f1859ca
--- /dev/null
+++ b/recipes/libtool/libtool-sdk_2.4.bb
@@ -0,0 +1,21 @@
+require libtool_${PV}.bb
+
+SRC_URI_append = " file://prefix.patch \
+                   file://cross.patch \
+                 "
+inherit sdk
+
+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
+}
+
+do_install () {
+        autotools_do_install
+        install -d ${D}${bindir}/
+        install -m 0755 ${HOST_SYS}-libtool ${D}${bindir}/
+}
+
+NATIVE_INSTALL_WORKS = "1"





More information about the Openembedded-commits mailing list