blob: d1d46157a630553269ff3b8cecc021bc9da35e48 [file] [log] [blame]
SUMMARY = "Phosphor OpenBMC machine readable workbook API modules"
DESCRIPTION = "The API for the MRW XML generated by the Serverwiz tool"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
DEPENDS += "libxml-simple-perl-native libjson-perl-native"
SRCREV = "${MRW_API_SRCREV}"
PR = "r1"
SRC_URI += "${MRW_API_SRC_URI}"
S = "${WORKDIR}/git"
inherit cpan-base
inherit mrw-rev
inherit perlnative
inherit native
do_install() {
perl_version="${@get_perl_version(d)}"
install -d ${D}${PERLLIBDIRS:class-native}/site_perl/${perl_version}/mrw
install -m 0755 scripts/Targets.pm ${D}${PERLLIBDIRS:class-native}/site_perl/${perl_version}/mrw/Targets.pm
}