blob: d1d46157a630553269ff3b8cecc021bc9da35e48 [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
Matt Spinler1e3c4142016-08-12 12:52:36 -050013inherit cpan-base
Matt Spinlerb103a332016-09-15 10:39:43 -050014inherit mrw-rev
Patrick Williamsb9b3aea2023-04-05 06:08:09 -050015inherit perlnative
16inherit native
Matt Spinler1e3c4142016-08-12 12:52:36 -050017
Matt Spinler1e3c4142016-08-12 12:52:36 -050018do_install() {
Patrick Williamsb9b3aea2023-04-05 06:08:09 -050019 perl_version="${@get_perl_version(d)}"
20 install -d ${D}${PERLLIBDIRS:class-native}/site_perl/${perl_version}/mrw
21 install -m 0755 scripts/Targets.pm ${D}${PERLLIBDIRS:class-native}/site_perl/${perl_version}/mrw/Targets.pm
Matt Spinler1e3c4142016-08-12 12:52:36 -050022}