sys-apps/librem-ec-acpi: add 0.9.2
This commit is contained in:
parent
77ec4be71c
commit
faaba28f4d
|
@ -1 +1,2 @@
|
||||||
DIST librem-ec-acpi-dkms-v0.9.1.tar.gz 13003 BLAKE2B 87d7988be2de75d491eaaa49918db354d426deefd57b4afa72b1447e5993d9b5b06b6964092c050ef039d7d9faa33e55137c1879a1b959e6f4f3ce877137e6db SHA512 93ee26917eddbef9aa9c0eb83007452ebf57c279f41c3061ee52756bb1f748c72935067b19c3417ed7b8a9795990b0f060241c0b7f2348d7f8ec01e9f88dcd3c
|
DIST librem-ec-acpi-dkms-v0.9.1.tar.gz 13003 BLAKE2B 87d7988be2de75d491eaaa49918db354d426deefd57b4afa72b1447e5993d9b5b06b6964092c050ef039d7d9faa33e55137c1879a1b959e6f4f3ce877137e6db SHA512 93ee26917eddbef9aa9c0eb83007452ebf57c279f41c3061ee52756bb1f748c72935067b19c3417ed7b8a9795990b0f060241c0b7f2348d7f8ec01e9f88dcd3c
|
||||||
|
DIST librem-ec-acpi-dkms-v0.9.2.tar.gz 13093 BLAKE2B 0c29aeec2f4804be98f628b16c2219acf805d3659d8dd4797db2cdcc94316bfb5ab5c396d2b3584de12b573907e671b0422e89c0a774516e4b1e573032fd5843 SHA512 b5d10fcf34a8b424138f9db1b06e916d809462ea55c7ca2565f13154da4fa49736ac95fb1b131c27ee49aa5f170f3e8a1a9c9a61c69e0364bcee37669759e8f6
|
||||||
|
|
|
@ -0,0 +1,46 @@
|
||||||
|
# Copyright 2021-2023 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"
|
||||||
|
|
||||||
|
IUSE="dist-kernel"
|
||||||
|
RDEPEND="dist-kernel? ( virtual/dist-kernel:= )"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
S="${WORKDIR}/librem-ec-acpi-dkms-v${PV}/"
|
||||||
|
MODULE_NAMES="librem_ec_acpi(librem:${S}:${S})"
|
||||||
|
BUILD_TARGETS="clean all"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# Makefile hardcoded to point at running kernel
|
||||||
|
# but we want the user-chosen kernel.
|
||||||
|
linux-info_get_any_version
|
||||||
|
sed -i "s/\$(shell uname -r)/${KV_FULL}/" Makefile \
|
||||||
|
|| die "could not set kernel version in makefile"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if ! use kernel_linux ; then
|
||||||
|
die "Unable to install"
|
||||||
|
fi
|
||||||
|
|
||||||
|
BUILD_PARAMS="KV=${KV_FULL} KSRC=${KERNEL_DIR} KERNELDIR=${KV_DIR}"
|
||||||
|
linux-mod_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
linux-mod_src_install
|
||||||
|
einstalldocs
|
||||||
|
}
|
Loading…
Reference in New Issue