Spencer Ku | 0ec0ff3 | 2020-04-20 15:24:35 +0800 | [diff] [blame] | 1 | LICENSE = "Apache-2.0" |
| 2 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
| 3 | |
| 4 | inherit autotools pkgconfig |
| 5 | inherit systemd |
| 6 | |
| 7 | S = "${WORKDIR}/git" |
| 8 | SRC_URI = "git://github.com/quanta-bmc/mac-address.git;protocol=git" |
| 9 | SRCREV = "08b87370c56ff69df852eca87391ae46c05d437a" |
| 10 | |
| 11 | DEPENDS += "autoconf-archive-native" |
| 12 | DEPENDS += "systemd" |
| 13 | |
| 14 | FILES_${PN} += "${bindir}/mac-address" |
| 15 | |
| 16 | SYSTEMD_PACKAGES = "${PN}" |
| 17 | SYSTEMD_SERVICE_${PN} = "mac-address.service" |
| 18 | |
| 19 | EXTRA_OECONF = " \ |
| 20 | SYSTEMD_TARGET="multi-user.target" \ |
| 21 | " |