summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/recipes-phosphor/mrw/mrw-api-native.bb
blob: b8c311bd18ca984098edfe47ae51d023485fe3ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SUMMARY = "Phosphor OpenBMC machine readable workbook API modules"
DESCRIPTION = "The API for the MRW XML generated by the Serverwiz tool"
PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"

S = "${WORKDIR}/git"

inherit native
inherit perlnative
inherit cpan-base
inherit mrw-rev

DEPENDS += "libxml-simple-perl-native json-perl-native"

SRC_URI += "${MRW_API_SRC_URI}"
SRCREV = "${MRW_API_SRCREV}"

do_install() {
    install -d ${D}${PERLLIBDIRS_class-native}/site_perl/${PERLVERSION}/mrw
    install -m 0755 scripts/Targets.pm ${D}${PERLLIBDIRS_class-native}/site_perl/${PERLVERSION}/mrw/Targets.pm
}
OpenPOWER on IntegriCloud