From 4bcaa5c9f5196ee4f412258d952cda669f1748b6 Mon Sep 17 00:00:00 2001 From: projectmoon Date: Fri, 9 Jul 2021 20:29:43 +0000 Subject: [PATCH] Librem 14 EC ACPI driver ebuild. --- sys-kernel/librem-ec-acpi/Manifest | 1 + .../librem-ec-acpi-0.9.1.ebuild | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 sys-kernel/librem-ec-acpi/Manifest create mode 100644 sys-kernel/librem-ec-acpi/librem-ec-acpi-0.9.1.ebuild diff --git a/sys-kernel/librem-ec-acpi/Manifest b/sys-kernel/librem-ec-acpi/Manifest new file mode 100644 index 0000000..8935dae --- /dev/null +++ b/sys-kernel/librem-ec-acpi/Manifest @@ -0,0 +1 @@ +DIST librem-ec-acpi-dkms-v0.9.1.tar.gz 13003 BLAKE2B 87d7988be2de75d491eaaa49918db354d426deefd57b4afa72b1447e5993d9b5b06b6964092c050ef039d7d9faa33e55137c1879a1b959e6f4f3ce877137e6db SHA512 93ee26917eddbef9aa9c0eb83007452ebf57c279f41c3061ee52756bb1f748c72935067b19c3417ed7b8a9795990b0f060241c0b7f2348d7f8ec01e9f88dcd3c diff --git a/sys-kernel/librem-ec-acpi/librem-ec-acpi-0.9.1.ebuild b/sys-kernel/librem-ec-acpi/librem-ec-acpi-0.9.1.ebuild new file mode 100644 index 0000000..b464c60 --- /dev/null +++ b/sys-kernel/librem-ec-acpi/librem-ec-acpi-0.9.1.ebuild @@ -0,0 +1,28 @@ +# 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 +}