From 49f7baa08fb484d4bb36ac0d07acc58c292f3a25 Mon Sep 17 00:00:00 2001 From: projectmoon Date: Fri, 9 Jul 2021 20:29:43 +0000 Subject: [PATCH] librem ec --- sys-kernel/librem-ec-acpi/Manifest | 1 + .../librem-ec-acpi-1.0.0.ebuild | 31 +++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 sys-kernel/librem-ec-acpi/Manifest create mode 100644 sys-kernel/librem-ec-acpi/librem-ec-acpi-1.0.0.ebuild diff --git a/sys-kernel/librem-ec-acpi/Manifest b/sys-kernel/librem-ec-acpi/Manifest new file mode 100644 index 0000000..9c9f1e3 --- /dev/null +++ b/sys-kernel/librem-ec-acpi/Manifest @@ -0,0 +1 @@ +DIST librem-ec-acpi-dkms-master.tar.gz 12994 BLAKE2B f5e0b3543c49476658120ee79d4b2dfafe1c83206a7b1726dbcaf44fe1945322db86ba4d4f19b4739557e95864bad7713f3b78c98b005333dc586d3b4622c5dd SHA512 d49cefe525f4d0174bc9cb4c20c118fa15e9d3e20186719eb2d1d05888b0d99625b4bbe4707f3077846178691b7c1d9baf60692eba7355625b2565aa87e4c536 diff --git a/sys-kernel/librem-ec-acpi/librem-ec-acpi-1.0.0.ebuild b/sys-kernel/librem-ec-acpi/librem-ec-acpi-1.0.0.ebuild new file mode 100644 index 0000000..2927f3f --- /dev/null +++ b/sys-kernel/librem-ec-acpi/librem-ec-acpi-1.0.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# 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" + +# "GBE Ethernet LINUX driver r8168 for kernel up to 5.6" from above link, +# we need to mirror it to avoid users from needing to fill a captcha to +# download +SRC_URI="https://source.puri.sm/nicole.faerber/librem-ec-acpi-dkms/-/archive/master/librem-ec-acpi-dkms-master.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64" + +MODULE_NAMES="librem_ec_acpi" +BUILD_TARGETS="modules" + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KERNELDIR=${KV_DIR}" +} + +src_install() { + linux-mod_src_install + einstalldocs +}