1 DESCRIPTION = "GENIVI IPC Common API C++ DBus"
2 HOMEPAGE = "http://nohomepage.org"
3 SECTION = "Automotive/GENIVI"
11 inherit manifest autotools-brokensep
16 #PROVIDES by libCommonAPI-DBus
17 PROVIDES += "libCommonAPI-DBus"
20 #PROVIDES by CommonAPI-DBus
23 #PROVIDES by CommonAPI-DBus-dev
24 PROVIDES += "CommonAPI-DBus-dev"
28 #RDEPENDS of CommonAPI-DBus (${PN})
29 RDEPENDS_${PN} += "glibc"
31 #RDEPENDS of CommonAPI-DBus-dev (${PN}-dev)
32 RDEPENDS_${PN}-dev += "libCommonAPI-DBus"
36 #DEPENDS of CommonAPI-DBus
37 DEPENDS += "CommonAPI"
44 chmod -Rf a+rX,u+w,g-w,o-w ${S}
50 bb.build.exec_func('do_prep', d)
61 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
65 autotools_do_configure
66 oe_runmake ${PARALLEL_MAKE}
74 export RPM_BUILD_ROOT=${D}
86 BINDIR=${prefix}/bin \
88 rm -f ${D}${infodir}/dir
89 find ${D} -regex ".*\.la$" | xargs rm -f --
90 find ${D} -regex ".*\.a$" | xargs rm -f --
95 pkg_postinst_libCommonAPI-DBus() {
98 [ "x$D" == "x" ] && ldconfig
101 pkg_postrm_libCommonAPI-DBus() {
104 [ "x$D" == "x" ] && ldconfig
107 PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"
108 PACKAGES += " libCommonAPI-DBus "
109 PACKAGES += " CommonAPI-DBus-dev "
111 libCommonAPI-DBus_files = ""
112 libCommonAPI-DBus_files += "${prefix}/lib/*so.*"
114 CommonAPI-DBus-dev_files = ""
115 CommonAPI-DBus-dev_files += "${prefix}/include/CommonAPI-2.1/CommonAPI/*"
116 CommonAPI-DBus-dev_files += "${prefix}/include/CommonAPI-2.1/pugixml/*"
117 CommonAPI-DBus-dev_files += "${prefix}/lib/*.so"
118 CommonAPI-DBus-dev_files += "${prefix}/lib/pkgconfig/*.pc"
120 FILES_lib${PN} = "${libCommonAPI-DBus_files}"
121 FILES_${PN}-dev = "${CommonAPI-DBus-dev_files}"
123 PKG_libCommonAPI-DBus= "libCommonAPI-DBus"
124 PKG_CommonAPI-DBus-dev= "CommonAPI-DBus-dev"
126 require CommonAPI-DBus-extraconf.inc