summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.1.bb
diff options
context:
space:
mode:
authorZheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>2018-07-03 01:23:49 +0800
committerKhem Raj <raj.khem@gmail.com>2018-07-03 17:42:25 -0700
commit7ccfc9d818f08a9d1d2a44d5d527b64270dc674b (patch)
tree4c6abe04d828fa16ec8ee037ab93c8eb7cf522b2 /meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.1.bb
parentb837e58eea4a81cb68c18bdd69a7ebf496838874 (diff)
downloadmeta-openembedded-7ccfc9d818f08a9d1d2a44d5d527b64270dc674b.tar.gz
cmpi-bindings: rename
Rename cmpi-bindings from cmpi-bindings_git.bb to cmpi-bindings_1.0.1.bb. Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.1.bb')
-rw-r--r--meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.1.bb40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.1.bb b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.1.bb
new file mode 100644
index 000000000..987c09fe5
--- /dev/null
+++ b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.1.bb
@@ -0,0 +1,40 @@
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"
5LIC_FILES_CHKSUM = "file://COPYING;md5=b19ee058d2d5f69af45da98051d91064"
6SECTION = "Development/Libraries"
7DEPENDS = "swig-native python3 sblim-cmpi-devel"
8
9SRC_URI = "git://github.com/kkaempf/cmpi-bindings.git;protocol=http \
10 file://cmpi-bindings-0.4.17-no-ruby-perl.patch \
11 file://cmpi-bindings-0.4.17-sblim-sigsegv.patch \
12 file://cmpi-bindings-0.9.5-python-lib-dir.patch \
13 file://0001-Modify-cmakelist.patch \
14 file://0001-Fix-error.patch \
15 file://0001-fix-the-build-error-when-python-3.0.patch \
16 file://0001-Add-PYTHON_ABI-suffix-to-the-python-library-name.patch \
17 "
18
19SRCREV = "62f60e065aa1b901f826e4f530c0573ae32d065e"
20S = "${WORKDIR}/git"
21
22inherit cmake python3native
23
24EXTRA_OECMAKE = "-DLIB='${baselib}' \
25 -DPYTHON_INCLUDE_PATH=${STAGING_INCDIR}/python${PYTHON_BASEVERSION}"
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
31do_configure_prepend() {
32 export STAGING_LIBDIR=${STAGING_LIBDIR}
33 export STAGING_INCDIR=${STAGING_INCDIR}
34 export ENV_INSTALL_PATH=${PYTHON_SITEPACKAGES_DIR}
35}
36
37FILES_${PN} =+"${libdir}/cmpi/libpyCmpiProvider.so ${PYTHON_SITEPACKAGES_DIR}/*"
38FILES_${PN}-dbg =+ "${libdir}/cmpi/.debug/libpyCmpiProvider.so"
39
40BBCLASSEXTEND = "native"