aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/driverctl/driverctl_0.111.bb
blob: 2b9a2f808583cf0d1c0fa5fcda385d93cd2f560f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
SUMMARY = "driverctl is a device driver control utility for Linux"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1-only;md5=1a6d268fd218675ffea8be556788b780"

REQUIRED_DISTRO_FEATURES = "systemd"

DEPENDS = "systemd"
RDEPENDS:${PN} += "bash bash-completion"

SRC_URI = " git://gitlab.com/driverctl/driverctl.git;branch=master"
SRCREV = "fa9dce43d1a667d6e6e26895fbed01b3b04362c9"

S = "${WORKDIR}/git"

inherit pkgconfig systemd features_check

FILES:${PN} += "${libdir}"
FILES:${PN} += "${libdir}/udev"
FILES:${PN} += "${libdir}/udev/rules.d"
FILES:${PN} += "${systemd_unitdir}"
FILES:${PN} += "${systemd_unitdir}/system"
FILES:${PN} += "${datadir}"
FILES:${PN} += "${datadir}/bash-completion"
FILES:${PN} += "${datadir}/bash-completion/completions"

do_install () {
	oe_runmake install DESTDIR=${D}
}