Matt Spinler | 1e3c414 | 2016-08-12 12:52:36 -0500 | [diff] [blame] | 1 | SUMMARY = "Phosphor OpenBMC machine readable workbook API modules" |
| 2 | DESCRIPTION = "The API for the MRW XML generated by the Serverwiz tool" |
Brad Bishop | edb390a | 2018-11-06 10:09:31 -0800 | [diff] [blame] | 3 | LICENSE = "Apache-2.0" |
Brad Bishop | 0f1b05d | 2018-10-16 11:02:54 -0500 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 5 | DEPENDS += "libxml-simple-perl-native libjson-perl-native" |
| 6 | SRCREV = "${MRW_API_SRCREV}" |
| 7 | PR = "r1" |
| 8 | |
| 9 | SRC_URI += "${MRW_API_SRC_URI}" |
Matt Spinler | 1e3c414 | 2016-08-12 12:52:36 -0500 | [diff] [blame] | 10 | |
Brad Bishop | 0f1b05d | 2018-10-16 11:02:54 -0500 | [diff] [blame] | 11 | S = "${WORKDIR}/git" |
Matt Spinler | 1e3c414 | 2016-08-12 12:52:36 -0500 | [diff] [blame] | 12 | |
Matt Spinler | 1e3c414 | 2016-08-12 12:52:36 -0500 | [diff] [blame] | 13 | inherit cpan-base |
Matt Spinler | b103a33 | 2016-09-15 10:39:43 -0500 | [diff] [blame] | 14 | inherit mrw-rev |
Patrick Williams | b9b3aea | 2023-04-05 06:08:09 -0500 | [diff] [blame] | 15 | inherit perlnative |
| 16 | inherit native |
Matt Spinler | 1e3c414 | 2016-08-12 12:52:36 -0500 | [diff] [blame] | 17 | |
Matt Spinler | 1e3c414 | 2016-08-12 12:52:36 -0500 | [diff] [blame] | 18 | do_install() { |
Patrick Williams | b9b3aea | 2023-04-05 06:08:09 -0500 | [diff] [blame] | 19 | 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 Spinler | 1e3c414 | 2016-08-12 12:52:36 -0500 | [diff] [blame] | 22 | } |