blob: f62cf6ba6542ce5d879725546d407b8c75eccd1a [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "Tool for rapid CMPI providers development"
2DESCRIPTION = "\
3KonkretCMPI makes CMPI provider development easier by generating type-safe \
4concrete CIM interfaces from MOF definitions and by providing default \
5implementations for many of the provider operations."
6HOMEPAGE = "https://github.com/rnovacek/konkretcmpi"
7LICENSE = "MIT"
8LIC_FILES_CHKSUM = "file://COPYING;md5=f673270bfc350d9ce1efc8724c6c1873"
Brad Bishopd7bf8c12018-02-25 22:55:05 -05009DEPENDS_append_class-target = " swig-native sblim-cmpi-devel python"
10DEPENDS_append_class-native = " cmpi-bindings-native"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050011
12SRC_URI = "git://github.com/rnovacek/konkretcmpi.git \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050013 file://0001-CMakeLists.txt-fix-lib64-can-not-be-shiped-in-64bit-.patch \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050014 file://0001-drop-including-rpath-cmake-module.patch \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050015 "
16
Brad Bishopd7bf8c12018-02-25 22:55:05 -050017SRCREV = "ad28225e6eceff88417a60c1ba8896c8e40f21a7"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050018S = "${WORKDIR}/git"
19
20inherit cmake
21
22EXTRA_OECMAKE = "-DWITH_PYTHON=ON \
Brad Bishop316dfdd2018-06-25 12:45:53 -040023 ${@oe.utils.conditional("libdir", "/usr/lib64", "-DLIB_SUFFIX=64", "", d)} \
24 ${@oe.utils.conditional("libdir", "/usr/lib32", "-DLIB_SUFFIX=32", "", d)} \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050025 "
26
Brad Bishopd7bf8c12018-02-25 22:55:05 -050027LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
28
Patrick Williamsb48b7b42016-08-17 15:04:38 -050029do_install_append() {
30 rm -rf ${D}${datadir}
31}
32
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080033PACKAGES =+ "${PN}-python"
34
35RPROVIDES_${PN}-dbg += "${PN}-python-dbg"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050036
37FILES_${PN}-python = "${libdir}/python2.7/site-packages/konkretmof.py* ${libdir}/python2.7/site-packages/_konkretmof.so"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050038
Brad Bishopd7bf8c12018-02-25 22:55:05 -050039BBCLASSEXTEND = "native"