summaryrefslogtreecommitdiff
path: root/meta-openbmc-mods/meta-common/recipes-core/rest-dbus/rest-dbus-static.bb
blob: 429d5b4b4b6f6b64cec49a07eb747d9d479d41c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SUMMARY = "Phosphor OpenBMC REST framework"
DESCRIPTION = "Phosphor OpenBMC REST to DBUS daemon."
HOMEPAGE = "http://github.com/openbmc/rest-dbus"
PR = "r1"

inherit allarch
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${INTELBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"

SRC_URI += "git://github.com/openbmc/rest-dbus.git"

SRCREV = "9273a302e8f2b3c3e939dff77758e90f163bf6a1"

S = "${WORKDIR}/git"

FILES_${PN} += "${datadir}/www/rest-dbus/*"

do_install () {
      install -d ${D}${datadir}/www/rest-dbus/res
      install -m 644 ${S}/resources/** ${D}${datadir}/www/rest-dbus/res
      install -m 644 ${S}/resources/index.html  ${D}${datadir}/www/rest-dbus/index.html
}