From 0d03b86c448f5887c7834603451826b6f30fe44d Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Wed, 26 Apr 2006 20:38:51 +0000 Subject: packages/dcop/: Build a native version of the dcopidl and dcopidl2cpp generator. The two executables will be installed into staging bindir. --- packages/dcop/dcopidl-native_3.5.4.bb | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 packages/dcop/dcopidl-native_3.5.4.bb (limited to 'packages/dcop/dcopidl-native_3.5.4.bb') diff --git a/packages/dcop/dcopidl-native_3.5.4.bb b/packages/dcop/dcopidl-native_3.5.4.bb new file mode 100644 index 0000000000..8a2e8738a7 --- /dev/null +++ b/packages/dcop/dcopidl-native_3.5.4.bb @@ -0,0 +1,29 @@ +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=dcopidl \ + file://dcopidl-compile.patch;patch=1 " +S = "${WORKDIR}/dcopidl" + + +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 yacc.cc scanner.cc " > dcopidl.pro + echo "HEADERS += yacc.cc.h " >> dcopidl.pro +} + +do_stage() { + install -d ${STAGING_BINDIR} + install -m 0755 dcopidl ${STAGING_BINDIR} +} -- cgit v1.2.3