29 lines
651 B
Bash
29 lines
651 B
Bash
# Copyright 2021 projectmoon
|
|
# 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"
|
|
SRC_URI="https://source.puri.sm/nicole.faerber/librem-ec-acpi-dkms/-/archive/v${PV}/librem-ec-acpi-dkms-v${PV}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
S="${WORKDIR}/librem-ec-acpi-dkms-v${PV}/"
|
|
MODULE_NAMES="librem_ec_acpi(librem:${S}:${S})"
|
|
BUILD_TARGETS="clean all"
|
|
|
|
pkg_setup() {
|
|
linux-mod_pkg_setup
|
|
BUILD_PARAMS="KERNELDIR=${KV_DIR}"
|
|
}
|
|
|
|
src_install() {
|
|
linux-mod_src_install
|
|
einstalldocs
|
|
}
|