triggerhappy: don't inherit autotools

This upstream does not in fact use autotools, so remove the inherit and
implement the required do_install.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Ross Burton 2025-03-19 17:41:47 +00:00 committed by Khem Raj
parent 461fa96157
commit 1ed91fa4a2
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -11,7 +11,7 @@ SRC_URI = "git://github.com/wertarbyte/${BPN}.git;branch=debian;protocol=https"
S = "${WORKDIR}/git"
inherit autotools-brokensep pkgconfig perlnative update-rc.d systemd
inherit pkgconfig perlnative update-rc.d systemd
PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}"
PACKAGECONFIG[systemd] = ",,systemd"
@ -30,7 +30,9 @@ FILES:${PN} = "\
"
CONFFILES:${PN} = "${sysconfdir}/udev/rules.d/80-triggerhappy.rules"
do_install:append() {
do_install() {
oe_runmake 'DESTDIR=${D}' 'BINDIR=${D}${sbindir}' install
install -d ${D}${sysconfdir}/triggerhappy/triggers.d
install -d ${D}${nonarch_base_libdir}/udev/rules.d