blob: 92979b9c463a0bc3286b4e1c62d978bb19a85103 [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"
Brad Bishopedb390a2018-11-06 10:09:31 -08003LICENSE = "Apache-2.0"
Brad Bishop0f1b05d2018-10-16 11:02:54 -05004LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
Ed Tanous9936f862022-09-19 09:13:20 -07005DEPENDS += "libxml-simple-perl-native libjson-perl-native"
6SRCREV = "${MRW_API_SRCREV}"
7PR = "r1"
8
9SRC_URI += "${MRW_API_SRC_URI}"
Matt Spinler1e3c4142016-08-12 12:52:36 -050010
Brad Bishop0f1b05d2018-10-16 11:02:54 -050011S = "${WORKDIR}/git"
Matt Spinler1e3c4142016-08-12 12:52:36 -050012
Andrew Geissleraae820c2021-03-03 16:11:40 -060013inherit native
Matt Spinler1e3c4142016-08-12 12:52:36 -050014inherit perlnative
15inherit cpan-base
Matt Spinlerb103a332016-09-15 10:39:43 -050016inherit mrw-rev
Matt Spinler1e3c4142016-08-12 12:52:36 -050017
Matt Spinler1e3c4142016-08-12 12:52:36 -050018do_install() {
Patrick Williams428d7112021-08-11 15:39:14 -050019 install -d ${D}${PERLLIBDIRS:class-native}/site_perl/${PERLVERSION}/mrw
20 install -m 0755 scripts/Targets.pm ${D}${PERLLIBDIRS:class-native}/site_perl/${PERLVERSION}/mrw/Targets.pm
Matt Spinler1e3c4142016-08-12 12:52:36 -050021}