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" |
| 9 | DEPENDS = "cmake-native cmpi-bindings-native" |
| 10 | |
| 11 | SRC_URI = "git://github.com/rnovacek/konkretcmpi.git \ |
| 12 | file://konkretcmpi-0.9.2-fix-returning-instance-from-method.patch \ |
| 13 | file://0001-CMakeLists.txt-fix-lib64-can-not-be-shiped-in-64bit-.patch " |
| 14 | |
| 15 | SRCREV = "460e6421c16a8216d29ccd1b7490f814dab8b769" |
| 16 | S = "${WORKDIR}/git" |
| 17 | |
| 18 | inherit native cmake |
| 19 | LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |
| 20 | |
| 21 | EXTRA_OECMAKE = "-DWITH_PYTHON=ON \ |
| 22 | ${@base_conditional("libdir", "/usr/lib64", "-DLIB_SUFFIX=64", "", d)} \ |
| 23 | ${@base_conditional("libdir", "/usr/lib32", "-DLIB_SUFFIX=32", "", d)} \ |
| 24 | " |
| 25 | |
| 26 | do_install_append() { |
| 27 | rm -rf ${D}${datadir} |
| 28 | } |