qt4-tools-sdk: symlink tools back to their original names to make e.g. eclipse plugin...
authorKoen Kooi <koen@openembedded.org>
Thu, 6 May 2010 06:53:37 +0000 (08:53 +0200)
committerKoen Kooi <koen@openembedded.org>
Thu, 6 May 2010 06:55:38 +0000 (08:55 +0200)
Change imported from http://arago-project.org/git/?p=arago.git;a=commitdiff;h=5bbda8657da241ca7c5a48cc497ca1506d6b05b0

recipes/qt4/qt4-tools-sdk_4.6.2.bb

index d8eda8a..26b49c8 100644 (file)
@@ -8,6 +8,8 @@ LICENSE = "LGPLv2.1 GPLv3"
 DEFAULT_PREFERENCE = "-1"
 inherit sdk
 
+PR = "r1"
+
 SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \
            file://configure-lflags.patch;patch=1 \
            file://qt-config.patch;patch=1 \
@@ -70,6 +72,12 @@ do_install() {
     for i in moc uic uic3 rcc lrelease lupdate qdbuscpp2xml qdbusxml2cpp; do
         install -m 0755 bin/${i} ${D}${bindir}/${i}4
     done
+
+       (cd ${D}${bindir}; \
+       ln -s qmake2 qmake; \
+       for i in moc uic uic3 rcc lrelease lupdate qdbuscpp2xml qdbusxml2cpp; do \
+               ln -s ${i}4 ${i}; \
+       done)
 }