aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksandr Batyuk <abbat.2008@gmail.com>2023-06-25 20:15:17 +0600
committerAleksandr Batyuk <abbat.2008@gmail.com>2023-06-25 20:15:17 +0600
commitc6401c7b85cdc6b02e91442639cb15d5592d5abb (patch)
tree5db542e0d00fa3b2a1481a7fd38ce29faf5e48b6 /net-wireless
parentwww-apps/pleroma: fix VisibleVcsPkg (diff)
downloadguru-c6401c7b85cdc6b02e91442639cb15d5592d5abb.tar.gz
guru-c6401c7b85cdc6b02e91442639cb15d5592d5abb.tar.bz2
guru-c6401c7b85cdc6b02e91442639cb15d5592d5abb.zip
net-wireless/rtl8192eu: Migrate to linux-mod-r1.eclass
Signed-off-by: Aleksandr Batyuk <abbat.2008@gmail.com>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/rtl8192eu/Manifest2
-rw-r--r--net-wireless/rtl8192eu/rtl8192eu-0_pre20230613.ebuild (renamed from net-wireless/rtl8192eu/rtl8192eu-0_pre20230313.ebuild)22
2 files changed, 14 insertions, 10 deletions
diff --git a/net-wireless/rtl8192eu/Manifest b/net-wireless/rtl8192eu/Manifest
index e27d5faf3..cda718b69 100644
--- a/net-wireless/rtl8192eu/Manifest
+++ b/net-wireless/rtl8192eu/Manifest
@@ -1 +1 @@
-DIST rtl8192eu-0_pre20230313.tar.gz 2488230 BLAKE2B f22aaa0811fb44f7d587cf78be035516b864cb8777ec6aa819d040f072c30ba233ec4d4f08a8accd4cf6cd0ff82d443a4609fec07db5852f1357da99b5943fb5 SHA512 aaeacc7fdae709a062309cf71a03720cd93d80ec97cba8ca0d40f2105dec9c65120f2d9b65c9af4d45e32e82acc8e21a1ecd825f2f3a6503d649de918dfc501f
+DIST rtl8192eu-0_pre20230613.tar.gz 2487558 BLAKE2B bcafb96b3558314799aa6234b5b30f01a4b51ea5ffe0ac42046ea851a69a15f851897ef3f2182e589c4b756eca4c70878b808731787a76f8e84ae5a11012fd02 SHA512 13f71afcb16cc9bbcb848ef18bc2020c7505c7f517b7698065df67ba549ec9e881e0ac68e5e0e26f6f1eb6476d0cf7d7f66479ee29deb99b2194f36f17abd3c1
diff --git a/net-wireless/rtl8192eu/rtl8192eu-0_pre20230313.ebuild b/net-wireless/rtl8192eu/rtl8192eu-0_pre20230613.ebuild
index 5a42e0d29..0160d4c5f 100644
--- a/net-wireless/rtl8192eu/rtl8192eu-0_pre20230313.ebuild
+++ b/net-wireless/rtl8192eu/rtl8192eu-0_pre20230613.ebuild
@@ -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
}