1*4882a593SmuzhiyunSUMMARY = "Tool for rapid CMPI providers development" 2*4882a593SmuzhiyunDESCRIPTION = "\ 3*4882a593SmuzhiyunKonkretCMPI makes CMPI provider development easier by generating type-safe \ 4*4882a593Smuzhiyunconcrete CIM interfaces from MOF definitions and by providing default \ 5*4882a593Smuzhiyunimplementations for many of the provider operations." 6*4882a593SmuzhiyunHOMEPAGE = "https://github.com/rnovacek/konkretcmpi" 7*4882a593SmuzhiyunLICENSE = "MIT" 8*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=f673270bfc350d9ce1efc8724c6c1873" 9*4882a593SmuzhiyunDEPENDS:append:class-target = " swig-native sblim-cmpi-devel python3" 10*4882a593SmuzhiyunDEPENDS:append:class-native = " cmpi-bindings-native" 11*4882a593Smuzhiyun 12*4882a593SmuzhiyunSRC_URI = "git://github.com/rnovacek/konkretcmpi.git;branch=master;protocol=https \ 13*4882a593Smuzhiyun file://0001-CMakeLists.txt-fix-lib64-can-not-be-shiped-in-64bit-.patch \ 14*4882a593Smuzhiyun file://0001-drop-including-rpath-cmake-module.patch \ 15*4882a593Smuzhiyun " 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunSRCREV = "ad28225e6eceff88417a60c1ba8896c8e40f21a7" 18*4882a593SmuzhiyunS = "${WORKDIR}/git" 19*4882a593Smuzhiyun 20*4882a593Smuzhiyuninherit cmake 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunEXTRA_OECMAKE = "-DWITH_PYTHON=ON \ 23*4882a593Smuzhiyun ${@oe.utils.conditional("libdir", "/usr/lib64", "-DLIB_SUFFIX=64", "", d)} \ 24*4882a593Smuzhiyun ${@oe.utils.conditional("libdir", "/usr/lib32", "-DLIB_SUFFIX=32", "", d)} \ 25*4882a593Smuzhiyun " 26*4882a593Smuzhiyun 27*4882a593SmuzhiyunLDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" 28*4882a593Smuzhiyun 29*4882a593Smuzhiyundo_install:append() { 30*4882a593Smuzhiyun rm -rf ${D}${datadir} 31*4882a593Smuzhiyun} 32*4882a593Smuzhiyun 33*4882a593SmuzhiyunPACKAGES =+ "${PN}-python" 34*4882a593Smuzhiyun 35*4882a593SmuzhiyunRPROVIDES:${PN}-dbg += "${PN}-python-dbg" 36*4882a593Smuzhiyun 37*4882a593SmuzhiyunFILES:${PN}-python = "${libdir}/python*/site-packages/konkretmof.py* ${libdir}/python*/site-packages/_konkretmof.so" 38*4882a593Smuzhiyun 39*4882a593SmuzhiyunBBCLASSEXTEND = "native" 40