projectmoon-overlay/sys-kernel/librem-ec-acpi/librem-ec-acpi-0.9.1.ebuild

29 lines
651 B
Bash
Raw Permalink Normal View History

2021-07-09 21:26:53 +00:00
# Copyright 2021 projectmoon
2021-07-09 20:29:43 +00:00
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit linux-info linux-mod
DESCRIPTION="Librem EC ACPI Driver"
HOMEPAGE="https://source.puri.sm/nicole.faerber/librem-ec-acpi-dkms"
2021-07-09 21:26:53 +00:00
SRC_URI="https://source.puri.sm/nicole.faerber/librem-ec-acpi-dkms/-/archive/v${PV}/librem-ec-acpi-dkms-v${PV}.tar.gz"
2021-07-09 20:29:43 +00:00
LICENSE="GPL-2"
SLOT="0"
2021-07-09 21:26:53 +00:00
KEYWORDS="~amd64"
2021-07-09 20:29:43 +00:00
2021-07-09 21:26:53 +00:00
S="${WORKDIR}/librem-ec-acpi-dkms-v${PV}/"
MODULE_NAMES="librem_ec_acpi(librem:${S}:${S})"
BUILD_TARGETS="clean all"
2021-07-09 20:29:43 +00:00
pkg_setup() {
linux-mod_pkg_setup
BUILD_PARAMS="KERNELDIR=${KV_DIR}"
}
src_install() {
linux-mod_src_install
einstalldocs
}