Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 1 | SUMMARY = "driverctl is a device driver control utility for Linux" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 2 | LICENSE = "LGPL-2.1-only" |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1-only;md5=1a6d268fd218675ffea8be556788b780" |
| 4 | |
| 5 | REQUIRED_DISTRO_FEATURES = "systemd" |
| 6 | |
| 7 | DEPENDS = "systemd" |
| 8 | RDEPENDS:${PN} += "bash bash-completion" |
| 9 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 10 | SRC_URI = " git://gitlab.com/driverctl/driverctl.git;branch=master" |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 11 | SRCREV = "fa9dce43d1a667d6e6e26895fbed01b3b04362c9" |
| 12 | |
| 13 | S = "${WORKDIR}/git" |
| 14 | |
| 15 | inherit pkgconfig systemd features_check |
| 16 | |
| 17 | FILES:${PN} += "${libdir}" |
| 18 | FILES:${PN} += "${libdir}/udev" |
| 19 | FILES:${PN} += "${libdir}/udev/rules.d" |
| 20 | FILES:${PN} += "${systemd_unitdir}" |
| 21 | FILES:${PN} += "${systemd_unitdir}/system" |
| 22 | FILES:${PN} += "${datadir}" |
| 23 | FILES:${PN} += "${datadir}/bash-completion" |
| 24 | FILES:${PN} += "${datadir}/bash-completion/completions" |
| 25 | |
| 26 | do_install () { |
| 27 | oe_runmake install DESTDIR=${D} |
| 28 | } |