Files
guru/net-wireless/rtl8821ce/rtl8821ce-0_pre20240326.ebuild
Aleksandr Batyuk 5b8d0f5a75 net-wireless/rtl8821ce: Add support kernel 6.9
Signed-off-by: Aleksandr Batyuk <abbat.2008@gmail.com>
2024-05-20 09:44:15 +06:00

28 lines
741 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit linux-mod-r1
MY_PN="rtl8821ce"
COMMIT="f119398d868b1a3395f40c1df2e08b57b2c882cd"
DESCRIPTION="Realtek RTL8821CE Driver module for Linux kernel"
HOMEPAGE="https://github.com/tomaspinho/rtl8821ce"
SRC_URI="https://github.com/tomaspinho/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${COMMIT}"
LICENSE="GPL-2"
SLOT=0
KEYWORDS="~amd64 ~x86"
CONFIG_CHECK="~!RTW88_8821CE"
ERROR_RTL8XXXU="The RTW88_8821CE module is enabled in the kernel; it conflicts with this module."
src_compile() {
local modlist=( 8821ce=net/wireless )
local modargs=( KSRC="${KV_OUT_DIR}" )
linux-mod-r1_src_compile
}