blob: 1d277cf2b35b98ad51ca0d2efd6648be3534a78d [file] [log] [blame]
Matt Spinler0b96a4e2016-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"
Patrick Venture7def5302018-11-06 10:09:31 -08004LICENSE = "Apache-2.0"
Brad Bishop1795f382018-11-09 09:36:28 -05005LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
Matt Spinler0b96a4e2016-08-12 12:52:36 -05006
Brad Bishop1795f382018-11-09 09:36:28 -05007S = "${WORKDIR}/git"
Matt Spinler0b96a4e2016-08-12 12:52:36 -05008
Matt Spinler0b96a4e2016-08-12 12:52:36 -05009inherit native
10inherit perlnative
11inherit cpan-base
Matt Spinlerde33cae2016-09-15 10:39:43 -050012inherit mrw-rev
Matt Spinler0b96a4e2016-08-12 12:52:36 -050013
14DEPENDS += "libxml-simple-perl-native json-perl-native"
15
Matt Spinlerde33cae2016-09-15 10:39:43 -050016SRC_URI += "${MRW_API_SRC_URI}"
17SRCREV = "${MRW_API_SRCREV}"
Matt Spinler0b96a4e2016-08-12 12:52:36 -050018
19do_install() {
Matt Spinler471b8852016-09-20 13:32:44 -050020 install -d ${D}${PERLLIBDIRS_class-native}/perl/site_perl/${PERLVERSION}/mrw
Brad Bishop1795f382018-11-09 09:36:28 -050021 install -m 0755 scripts/Targets.pm ${D}${PERLLIBDIRS_class-native}/perl/site_perl/${PERLVERSION}/mrw/Targets.pm
Matt Spinler0b96a4e2016-08-12 12:52:36 -050022}