blob: c3768c9d96f3235f4f05b342d46f9d5117382537 [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"
Andrew Geissler113bfcd2019-06-25 02:12:26 +000016DEPENDS += "boost"
Vishwanatha Subbanna04898332017-01-09 16:02:27 +053017
Brad Bishop66038f42017-01-26 12:36:52 -050018DBUS_SERVICE_${PN} += "xyz.openbmc_project.led.controller@.service"
19
Vishwanatha Subbanna04898332017-01-09 16:02:27 +053020SRC_URI += "git://github.com/openbmc/phosphor-led-sysfs"
Brad Bishop66038f42017-01-26 12:36:52 -050021SRC_URI += "file://70-leds.rules"
Andrew Geisslerd777c102020-07-02 06:51:22 +000022SRCREV = "61b906367119b794a9788725fad86a3174bd83c0"
Vishwanatha Subbanna04898332017-01-09 16:02:27 +053023S = "${WORKDIR}/git"
Brad Bishop66038f42017-01-26 12:36:52 -050024
25do_install_append() {
26 install -d ${D}/${base_libdir}/udev/rules.d/
Brad Bishopd0c97c02019-11-14 14:37:51 -050027 install -m 0644 ${WORKDIR}/70-leds.rules ${D}/${base_libdir}/udev/rules.d/
Brad Bishop66038f42017-01-26 12:36:52 -050028}