1*169d7bccSPatrick WilliamsSUMMARY = "driverctl is a device driver control utility for Linux"
2*169d7bccSPatrick WilliamsLICENSE = "LGPL-2.1-only"
3*169d7bccSPatrick WilliamsLIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
4*169d7bccSPatrick Williams
5*169d7bccSPatrick WilliamsREQUIRED_DISTRO_FEATURES = "systemd"
6*169d7bccSPatrick Williams
7*169d7bccSPatrick WilliamsDEPENDS = "systemd"
8*169d7bccSPatrick WilliamsRDEPENDS:${PN} += "bash bash-completion"
9*169d7bccSPatrick Williams
10*169d7bccSPatrick WilliamsSRC_URI = "git://gitlab.com/driverctl/driverctl.git;branch=master;protocol=https"
11*169d7bccSPatrick WilliamsSRCREV = "2ba60536eb20ca0a6a751bd8b6501dba84ec45d3"
12*169d7bccSPatrick Williams
13*169d7bccSPatrick WilliamsS = "${WORKDIR}/git"
14*169d7bccSPatrick Williams
15*169d7bccSPatrick Williamsinherit pkgconfig systemd features_check
16*169d7bccSPatrick Williams
17*169d7bccSPatrick Williamsdo_install () {
18*169d7bccSPatrick Williams	oe_runmake install DESTDIR=${D}
19*169d7bccSPatrick Williams}
20*169d7bccSPatrick Williams
21*169d7bccSPatrick WilliamsFILES:${PN} += " \
22*169d7bccSPatrick Williams    ${libdir} \
23*169d7bccSPatrick Williams    ${datadir} \
24*169d7bccSPatrick Williams    ${systemd_system_unitdir} \
25*169d7bccSPatrick Williams"
26*169d7bccSPatrick Williams
27