summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/mrw/mrw-api-native.bb
blob: ec1df89a366a09d57c0e06ea8c9b3b4282b2eb92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SUMMARY = "Phosphor OpenBMC machine readable workbook API modules"
DESCRIPTION = "The API for the MRW XML generated by the Serverwiz tool"
PR = "r1"

S = "${WORKDIR}/scripts"

inherit obmc-phosphor-license
inherit native
inherit perlnative
inherit cpan-base

DEPENDS += "libxml-simple-perl-native json-perl-native"

SRC_URI += "git://github.com/open-power/serverwiz.git;subpath=scripts"
SRCREV = "04f15f37e9ab6c09412a0abcffb87e9aefcc5368"

do_install() {
    install -d ${PERLLIBDIRS_class-native}/perl/site_perl/${PERLVERSION}/mrw
    install -m 0755 Targets.pm ${PERLLIBDIRS_class-native}/perl/site_perl/${PERLVERSION}/mrw/Targets.pm
}
OpenPOWER on IntegriCloud