blob: ef73bfa77d37a8870faa43f91052e56cb93a2f88 [file] [log] [blame]
Matt Spinler1e3c4142016-08-12 12:52:36 -05001SUMMARY = "Phosphor OpenBMC machine readable workbook API modules"
2DESCRIPTION = "The API for the MRW XML generated by the Serverwiz tool"
3PR = "r1"
Brad Bishopedb390a2018-11-06 10:09:31 -08004LICENSE = "Apache-2.0"
Brad Bishop0f1b05d2018-10-16 11:02:54 -05005LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
Matt Spinler1e3c4142016-08-12 12:52:36 -05006
Brad Bishop0f1b05d2018-10-16 11:02:54 -05007S = "${WORKDIR}/git"
Matt Spinler1e3c4142016-08-12 12:52:36 -05008
Andrew Geissleraae820c2021-03-03 16:11:40 -06009inherit native
Matt Spinler1e3c4142016-08-12 12:52:36 -050010inherit perlnative
11inherit cpan-base
Matt Spinlerb103a332016-09-15 10:39:43 -050012inherit mrw-rev
Matt Spinler1e3c4142016-08-12 12:52:36 -050013
14DEPENDS += "libxml-simple-perl-native json-perl-native"
15
Matt Spinlerb103a332016-09-15 10:39:43 -050016SRC_URI += "${MRW_API_SRC_URI}"
17SRCREV = "${MRW_API_SRCREV}"
Matt Spinler1e3c4142016-08-12 12:52:36 -050018
19do_install() {
Patrick Williams428d7112021-08-11 15:39:14 -050020 install -d ${D}${PERLLIBDIRS:class-native}/site_perl/${PERLVERSION}/mrw
21 install -m 0755 scripts/Targets.pm ${D}${PERLLIBDIRS:class-native}/site_perl/${PERLVERSION}/mrw/Targets.pm
Matt Spinler1e3c4142016-08-12 12:52:36 -050022}