summaryrefslogtreecommitdiff
path: root/packages/dcop/dcopidl2cpp-native_3.5.4.bb
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2006-04-26 20:38:51 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-26 20:38:51 +0000
commit0d03b86c448f5887c7834603451826b6f30fe44d (patch)
treee3fd87c828c9337c287a5462fb263d571600f472 /packages/dcop/dcopidl2cpp-native_3.5.4.bb
parent448ec265d79fb7810a206e112921c050c8030e6e (diff)
packages/dcop/:
Build a native version of the dcopidl and dcopidl2cpp generator. The two executables will be installed into staging bindir.
Diffstat (limited to 'packages/dcop/dcopidl2cpp-native_3.5.4.bb')
-rw-r--r--packages/dcop/dcopidl2cpp-native_3.5.4.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/packages/dcop/dcopidl2cpp-native_3.5.4.bb b/packages/dcop/dcopidl2cpp-native_3.5.4.bb
new file mode 100644
index 0000000000..5828bc35ec
--- /dev/null
+++ b/packages/dcop/dcopidl2cpp-native_3.5.4.bb
@@ -0,0 +1,30 @@
+DESCRIPTION = "DCOP IDL parser"
+SECTION = "kde/dev"
+PRIORITY = "optional"
+MAINTAINER = "freyther@kde.org"
+LICENSE = "GPL"
+DEPENDS = "uicmoc3-native"
+
+
+SRC_URI = "svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kdelibs/dcop/;module=dcopidl2cpp "
+#\
+# file://dcopidl-compile.patch;patch=1 "
+S = "${WORKDIR}/dcopidl2cpp"
+
+
+inherit native qmake qt3e
+
+export OE_QMAKE_LINK="${CXX}"
+EXTRA_QMAKEVARS_POST_append = "LIBS+=-ldl "
+EXTRA_QMAKEVARS_POST_append = "CONFIG-=thread "
+
+# create a .pro file now
+do_configure_prepend() {
+ echo "SOURCES += main.cpp skel.cpp stub.cpp stubimpl.cpp" > dcopidl2cpp.pro
+ echo "HEADERS += main.h " >> dcopidl2cpp.pro
+}
+
+do_stage() {
+ install -d ${STAGING_BINDIR}
+ install -m 0755 dcopidl2cpp ${STAGING_BINDIR}
+}