Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "Tool for rapid CMPI providers development" |
| 2 | DESCRIPTION = "\ |
| 3 | KonkretCMPI makes CMPI provider development easier by generating type-safe \ |
| 4 | concrete CIM interfaces from MOF definitions and by providing default \ |
| 5 | implementations for many of the provider operations." |
| 6 | HOMEPAGE = "https://github.com/rnovacek/konkretcmpi" |
| 7 | LICENSE = "MIT" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=f673270bfc350d9ce1efc8724c6c1873" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 9 | DEPENDS_append_class-target = " swig-native sblim-cmpi-devel python" |
| 10 | DEPENDS_append_class-native = " cmpi-bindings-native" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 11 | |
| 12 | SRC_URI = "git://github.com/rnovacek/konkretcmpi.git \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 13 | file://0001-CMakeLists.txt-fix-lib64-can-not-be-shiped-in-64bit-.patch \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 14 | file://0001-drop-including-rpath-cmake-module.patch \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 15 | " |
| 16 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 17 | SRCREV = "ad28225e6eceff88417a60c1ba8896c8e40f21a7" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 18 | S = "${WORKDIR}/git" |
| 19 | |
| 20 | inherit cmake |
| 21 | |
| 22 | EXTRA_OECMAKE = "-DWITH_PYTHON=ON \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 23 | ${@oe.utils.conditional("libdir", "/usr/lib64", "-DLIB_SUFFIX=64", "", d)} \ |
| 24 | ${@oe.utils.conditional("libdir", "/usr/lib32", "-DLIB_SUFFIX=32", "", d)} \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 25 | " |
| 26 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 27 | LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |
| 28 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 29 | do_install_append() { |
| 30 | rm -rf ${D}${datadir} |
| 31 | } |
| 32 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 33 | PACKAGES =+ "${PN}-python" |
| 34 | |
| 35 | RPROVIDES_${PN}-dbg += "${PN}-python-dbg" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 36 | |
| 37 | FILES_${PN}-python = "${libdir}/python2.7/site-packages/konkretmof.py* ${libdir}/python2.7/site-packages/_konkretmof.so" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 38 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 39 | BBCLASSEXTEND = "native" |