net-wireless/rtl8192eu: Migrate to linux-mod-r1.eclass

Signed-off-by: Aleksandr Batyuk <abbat.2008@gmail.com>
This commit is contained in:
Aleksandr Batyuk
2023-06-25 20:15:17 +06:00
parent 069148c8d8
commit c6401c7b85
2 changed files with 14 additions and 10 deletions

View File

@@ -1 +1 @@
DIST rtl8192eu-0_pre20230313.tar.gz 2488230 BLAKE2B f22aaa0811fb44f7d587cf78be035516b864cb8777ec6aa819d040f072c30ba233ec4d4f08a8accd4cf6cd0ff82d443a4609fec07db5852f1357da99b5943fb5 SHA512 aaeacc7fdae709a062309cf71a03720cd93d80ec97cba8ca0d40f2105dec9c65120f2d9b65c9af4d45e32e82acc8e21a1ecd825f2f3a6503d649de918dfc501f
DIST rtl8192eu-0_pre20230613.tar.gz 2487558 BLAKE2B bcafb96b3558314799aa6234b5b30f01a4b51ea5ffe0ac42046ea851a69a15f851897ef3f2182e589c4b756eca4c70878b808731787a76f8e84ae5a11012fd02 SHA512 13f71afcb16cc9bbcb848ef18bc2020c7505c7f517b7698065df67ba549ec9e881e0ac68e5e0e26f6f1eb6476d0cf7d7f66479ee29deb99b2194f36f17abd3c1

View File

@@ -2,9 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit linux-mod
COMMIT="528ae31705764d78cc117abd604d9b799bd52543"
inherit linux-mod-r1
SLOT=0
COMMIT="f2fc8af7ab58d2123eed1aa4428e713cdfc27976"
DESCRIPTION="Realtek 8192EU driver module for Linux kernel"
HOMEPAGE="https://github.com/Mange/rtl8192eu-linux-driver"
@@ -17,13 +17,17 @@ DEPEND="virtual/linux-sources"
S="${WORKDIR}/rtl8192eu-linux-driver-${COMMIT}"
MODULE_NAMES="8192eu(net/wireless)"
BUILD_TARGETS="all"
CONFIG_CHECK="~!RTL8XXXU"
ERROR_RTL8XXXU="The RTL8XXXXU module is enabled in the kernel; it conflicts with this module."
pkg_setup() {
linux-mod_pkg_setup
BUILD_PARAMS="KSRC=${KERNEL_DIR}"
src_compile() {
linux-mod-r1_pkg_setup
local modlist=(8192eu=net/wireless)
local modargs=(KSRC=$KV_OUT_DIR)
linux-mod-r1_src_compile
}
src_install() {
linux-mod-r1_src_install
}