# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit linux-mod-r1 DESCRIPTION="Few modules for ACPI debugging" HOMEPAGE="https://github.com/Lekensteyn/acpi-stuff" if [[ ${PV} =~ "9999" ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/Lekensteyn/${PN}.git" else SRC_URI="https://github.com/downloads/Lekensteyn/${PN}/${P}.tar.gz" KEYWORDS="~amd64 ~x86" fi LICENSE="GPL-2" SLOT="0" DEPEND=" virtual/linux-sources sys-kernel/linux-headers " src_compile() { local modlist=( acpi_dump_info="kernel/drivers/acpi:${S}/acpi_dump_info" pcidev="kernel/drivers/acpi:${S}/pcidev" ) linux-mod-r1_src_compile }