1SUMMARY = "Adapter to write and run CMPI-type CIM providers" 2DESCRIPTION = "CMPI-compliant provider interface for various languages via SWIG" 3HOMEPAGE = "http://github.com/kkaempf/cmpi-bindings" 4LICENSE = "BSD-3-Clause" 5LIC_FILES_CHKSUM = "file://COPYING;md5=b19ee058d2d5f69af45da98051d91064" 6SECTION = "Development/Libraries" 7DEPENDS = "swig-native sblim-cmpi-devel python3-setuptools-native" 8 9SRC_URI = "git://github.com/kkaempf/cmpi-bindings.git;protocol=https;branch=master \ 10 file://cmpi-bindings-0.4.17-no-ruby-perl.patch \ 11 file://cmpi-bindings-0.4.17-sblim-sigsegv.patch \ 12 file://0001-Fix-error.patch \ 13 " 14 15SRCREV = "69077ee4d249816ed428155fc933dca424167e77" 16S = "${WORKDIR}/git" 17 18inherit cmake python3targetconfig 19 20EXTRA_OECMAKE = "-DLIB='${baselib}' \ 21 -DPYTHON_INCLUDE_PATH=${STAGING_INCDIR}/python${PYTHON_BASEVERSION} \ 22 -DPYTHON_ABI=${PYTHON_ABI} \ 23 -DBUILD_PYTHON3=YES \ 24 -DPython3_SITE_DIR=${PYTHON_SITEPACKAGES_DIR} \ 25 " 26 27# With Ninja it fails with: 28# ninja: error: build.ninja:282: bad $-escape (literal $ must be written as $$) 29OECMAKE_GENERATOR = "Unix Makefiles" 30 31FILES:${PN} =+"${libdir}/cmpi/libpy3CmpiProvider.so ${PYTHON_SITEPACKAGES_DIR}/*" 32FILES:${PN}-dbg =+ "${libdir}/cmpi/.debug/libpyCmpiProvider.so" 33 34BBCLASSEXTEND = "native" 35