blob: 60b6761a8e5e23cbd9befb7776e8df7c154b9780 [file] [log] [blame]
Vishwanatha Subbanna04898332017-01-09 16:02:27 +05301SUMMARY = "Phosphor Physical LED Controller daemon"
2DESCRIPTION = "Daemon to trigger actions on a physical LED"
3HOMEPAGE = "http://github.com/openbmc/phosphor-led-sysfs"
4PR = "r1"
Patrick Venture1f52b4e2018-10-02 20:54:25 -07005PV = "1.0+git${SRCPV}"
Vishwanatha Subbanna04898332017-01-09 16:02:27 +05306LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
Patrick Venture1f52b4e2018-10-02 20:54:25 -07008
Vishwanatha Subbanna04898332017-01-09 16:02:27 +05309inherit autotools pkgconfig
Brad Bishop66038f42017-01-26 12:36:52 -050010inherit obmc-phosphor-dbus-service
Vishwanatha Subbanna04898332017-01-09 16:02:27 +053011
12DEPENDS += "autoconf-archive-native"
13DEPENDS += "sdbusplus"
Brad Bishop26873c92019-03-22 23:41:42 -040014DEPENDS += "systemd"
Xo Wange867f292017-03-14 16:40:31 -070015DEPENDS += "phosphor-dbus-interfaces"
Vishwanatha Subbanna04898332017-01-09 16:02:27 +053016
Brad Bishop66038f42017-01-26 12:36:52 -050017DBUS_SERVICE_${PN} += "xyz.openbmc_project.led.controller@.service"
18
Vishwanatha Subbanna04898332017-01-09 16:02:27 +053019SRC_URI += "git://github.com/openbmc/phosphor-led-sysfs"
Brad Bishop66038f42017-01-26 12:36:52 -050020SRC_URI += "file://70-leds.rules"
Andrew Geissler164e85b2018-10-30 20:20:24 +000021SRCREV = "e0844ff447abad01fa6f902caab3839336d1518d"
Vishwanatha Subbanna04898332017-01-09 16:02:27 +053022S = "${WORKDIR}/git"
Brad Bishop66038f42017-01-26 12:36:52 -050023
24do_install_append() {
25 install -d ${D}/${base_libdir}/udev/rules.d/
26 install ${WORKDIR}/70-leds.rules ${D}/${base_libdir}/udev/rules.d/
27}