diff options
| author | leimaohui <leimaohui@cn.fujitsu.com> | 2015-08-25 13:19:55 +0800 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-08-31 19:11:11 +0200 |
| commit | be019b379479f4df346b34a940ec46aaa3534d22 (patch) | |
| tree | 9b1ef5828d69c26a1a48ba91ad956f6aca85d6ea /meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb | |
| parent | 0f2b4f7281865ead770335195c5f913eb7523057 (diff) | |
| download | meta-openembedded-be019b379479f4df346b34a940ec46aaa3534d22.tar.gz | |
cim-schema-exper: add new recipe for openlmi
- Cim-schema-exper(Experimental-MOFs) is dependence of openlmi.
- Cim-schema_2.40.0.bb is renamed to cim-schema-final_2.40.0.bb.
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb')
| -rw-r--r-- | meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb b/meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb new file mode 100644 index 0000000000..1694f31824 --- /dev/null +++ b/meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | require cim-schema.inc | ||
| 2 | |||
| 3 | LICENSE = "DMTF" | ||
| 4 | |||
| 5 | RCONFLICTS_${PN} = "cim-schema-exper" | ||
| 6 | |||
| 7 | SRC_URI = "http://dmtf.org/sites/default/files/cim/cim_schema_v2400/cim_schema_${PV}Final-MOFs.zip \ | ||
| 8 | file://LICENSE \ | ||
| 9 | " | ||
| 10 | SRC_URI[md5sum] = "a9bdf17c7374e3b5b7adeaac4842c4ad" | ||
| 11 | SRC_URI[sha256sum] = "dbfa3064ea427acd71a4bebbc172ca2dc44b0b09a6d83b0945b9ffa988a9058a" | ||
| 12 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=eecc6f71a56ff3caf17f15bf7aeac7b4" | ||
| 13 | |||
| 14 | do_unpack() { | ||
| 15 | unzip -q ${DL_DIR}/cim_schema_${PV}Final-MOFs.zip -d ${S} | ||
| 16 | cp -f ${FILE_DIRNAME}/files/LICENSE ${WORKDIR}/ | ||
| 17 | } | ||
| 18 | |||
| 19 | do_install() { | ||
| 20 | install -d -m 0755 ${D}${datadir}/mof/cimv${PV}/ | ||
| 21 | install -d -m 0755 ${D}${datadir}/doc/cim-schema-${PV} | ||
| 22 | install -m 644 ${WORKDIR}/LICENSE ${D}${datadir}/doc/cim-schema-${PV} | ||
| 23 | |||
| 24 | cp -a ${S}/* ${D}${datadir}/mof/cimv${PV}/ | ||
| 25 | for i in `find ${D}${datadir}/mof/cimv${PV} -name "*.mof"`; do | ||
| 26 | sed -i -e 's/\r//g' $i | ||
| 27 | done | ||
| 28 | ln -s cimv${PV} ${D}${datadir}/mof/cim-current | ||
| 29 | ln -s cim_schema_${PV}.mof ${D}${datadir}/mof/cim-current/CIM_Schema.mof | ||
| 30 | } | ||
| 31 | |||
| 32 | FILES_${PN} = "${datadir}/mof/* ${datadir}/doc/*" | ||
| 33 | FILES_${PN}-doc = "" | ||
