summaryrefslogtreecommitdiff
path: root/packages/dcop/dcopidl2cpp-native_3.5.4.bb
blob: 5828bc35ecd54c645c0fa27c766f5ffc1b8ddccd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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}
}