summaryrefslogtreecommitdiff
path: root/recipes/dcop/dcopidl-native_3.5.8.bb
blob: 1b20e49ddc2c8e55d3c5d0f1e6a7fbba6608408d (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
31
32
DESCRIPTION = "DCOP IDL parser"
SECTION = "kde/devel"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "uicmoc3-native"
PR = "r2"

SRC_URI = "ftp://download.kde.org/pub/kde/stable/${PV}/src/kdelibs-${PV}.tar.bz2 \
           file://dcopidl-compile.patch "
SRC_URI[md5sum] = "acaa37e79e840d10dca326277a20863c"
SRC_URI[sha256sum] = "779f563fdf0385b973f2238f04d82b5729aefe1c949e4d29482b6bb170aa3fe6"

S = "${WORKDIR}/kdelibs-${PV}/dcop/dcopidl"

inherit native qmake qt3e

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_install() {
     install -d ${D}${bindir}
     install -m 0755 dcopidl ${D}${bindir}
}

export OE_QMAKE_LINK="${CXX}"

NATIVE_INSTALL_WORKS = "1"