diff options
Diffstat (limited to 'recipes/dcop/dcopidl-native_3.5.8.bb')
-rw-r--r-- | recipes/dcop/dcopidl-native_3.5.8.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/dcop/dcopidl-native_3.5.8.bb b/recipes/dcop/dcopidl-native_3.5.8.bb new file mode 100644 index 0000000000..43fd451d79 --- /dev/null +++ b/recipes/dcop/dcopidl-native_3.5.8.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "DCOP IDL parser" +SECTION = "kde/devel" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "uicmoc3-native" + +SRC_URI = "ftp://download.kde.org/pub/kde/stable/${PV}/src/kdelibs-${PV}.tar.bz2 \ + file://dcopidl-compile.patch;patch=1 " +S = "${WORKDIR}/kdelibs-${PV}/dcop/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} +} |