summaryrefslogtreecommitdiff
path: root/uicmoc/uicmoc-native_2.3.7.oe
diff options
context:
space:
mode:
Diffstat (limited to 'uicmoc/uicmoc-native_2.3.7.oe')
-rw-r--r--uicmoc/uicmoc-native_2.3.7.oe6
1 files changed, 4 insertions, 2 deletions
diff --git a/uicmoc/uicmoc-native_2.3.7.oe b/uicmoc/uicmoc-native_2.3.7.oe
index edb68a6dc0..d3d61edaad 100644
--- a/uicmoc/uicmoc-native_2.3.7.oe
+++ b/uicmoc/uicmoc-native_2.3.7.oe
@@ -1,9 +1,10 @@
DESCRIPTION = "User Interface Generator and Meta Object Compiler (moc) for Qt(E) 2.x"
+SECTION = "tools"
PRIORITY = "optional"
-DEPENDS = "virtual/libc zlib-native"
LICENSE = "GPL/QPL"
-SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-${PV}.tar.gz"
+SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-${PV}.tar.gz \
+ file://${FILESDIR}/fix-makefile.patch;patch=1"
S = "${WORKDIR}/qt-${PV}"
inherit autotools native
@@ -26,6 +27,7 @@ do_configure() {
do_compile() {
unset CC LD CCLD CXX RANLIB AR STRIP CFLAGS LDFLAGS CXXFLAGS CPPFLAGS
+ oe_runmake symlinks || die "Can't symlink include files"
cd ${S}/src/moc && oe_runmake || die "Building moc failed"
cp ${S}/src/moc/moc ${S}/bin
cd ${S}/src && oe_runmake || die "Building libqt.a failed"