summaryrefslogtreecommitdiff
path: root/packages/dcop/dcopidl-native_3.5.4.bb
blob: 62abe88bac623250bb39b0dff9699a2755ea8e61 (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
DESCRIPTION = "DCOP IDL parser"
SECTION = "kde/devel"
PRIORITY    = "optional"
LICENSE     = "GPL"
DEPENDS     = "uicmoc3-native"

SRC_URI     = "ftp://download.kde.org/pub/kde/stable/3.5.4/src/kdelibs-3.5.4.tar.bz2 \
	      file://dcopidl-compile.patch;patch=1 "
S           = "${WORKDIR}/kdelibs-3.5.4/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}
}