blob: 8000fa442be38c24a0c30310154b4150c2cd3077 [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"
Xo Wange867f292017-03-14 16:40:31 -070014DEPENDS += "phosphor-dbus-interfaces"
Vishwanatha Subbanna04898332017-01-09 16:02:27 +053015RDEPENDS_${PN} += "libsystemd"
16
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 Geissler0222fb82018-08-01 08:55:05 -050021SRCREV = "8609c65aaa48eeff85cd9dd375253d7755581993"
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}