Brad Bishop | b0c3b27 | 2017-01-11 11:12:32 -0500 | [diff] [blame] | 1 | SUMMARY = "OpenBMC hwmon poller" |
| 2 | DESCRIPTION = "OpenBMC hwmon poller." |
| 3 | PR = "r1" |
| 4 | |
| 5 | LICENSE = "Apache-2.0" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc" |
| 7 | |
Brad Bishop | 030da25 | 2017-01-11 15:30:07 -0500 | [diff] [blame] | 8 | inherit autotools pkgconfig obmc-phosphor-systemd |
| 9 | |
| 10 | SYSTEMD_SERVICE_${PN} = "xyz.openbmc_project.Hwmon@.service" |
Brad Bishop | b0c3b27 | 2017-01-11 11:12:32 -0500 | [diff] [blame] | 11 | |
| 12 | DEPENDS += "autoconf-archive-native" |
| 13 | DEPENDS += "sdbusplus" |
| 14 | |
| 15 | RDEPENDS_${PN} += "\ |
| 16 | libsystemd \ |
| 17 | " |
| 18 | |
| 19 | SRC_URI += "git://github.com/openbmc/phosphor-hwmon" |
Brad Bishop | 030da25 | 2017-01-11 15:30:07 -0500 | [diff] [blame] | 20 | SRC_URI += "file://70-hwmon.rules" |
Brad Bishop | b0c3b27 | 2017-01-11 11:12:32 -0500 | [diff] [blame] | 21 | |
Patrick Williams | 4d5947a | 2017-01-30 15:00:09 -0600 | [diff] [blame] | 22 | SRCREV = "30dbceec70d96487016b129334ba539b9e161c08" |
Brad Bishop | b0c3b27 | 2017-01-11 11:12:32 -0500 | [diff] [blame] | 23 | |
| 24 | S = "${WORKDIR}/git" |
Brad Bishop | 030da25 | 2017-01-11 15:30:07 -0500 | [diff] [blame] | 25 | |
| 26 | do_install_append() { |
| 27 | |
Brad Bishop | f5812fd | 2017-01-26 09:12:57 -0500 | [diff] [blame] | 28 | install -d ${D}/${base_libdir}/udev/rules.d/ |
| 29 | install ${WORKDIR}/70-hwmon.rules ${D}/${base_libdir}/udev/rules.d/ |
Brad Bishop | 030da25 | 2017-01-11 15:30:07 -0500 | [diff] [blame] | 30 | } |