# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit linux-mod COMMIT="932df6f7da6c3a384cf91f33eb195097eb0cb6c5" DESCRIPTION="Realtek 8814AU USB WiFi module for Linux kernel" HOMEPAGE="https://github.com/morrownr/8814au" SRC_URI="https://github.com/morrownr/8814au/archive/${COMMIT}.tar.gz -> rtl8814au-${PV}.tar.gz" LICENSE="GPL-2" KEYWORDS="~amd64" DEPEND="virtual/linux-sources" S="${WORKDIR}/8814au-${COMMIT}" MODULE_NAMES="8814au(net/wireless)" BUILD_TARGETS="all" BUILD_TARGET_ARCH="${ARCH}" pkg_setup() { linux-mod_pkg_setup BUILD_PARAMS="KERN_DIR=${KV_DIR} KSRC=${KV_DIR} KERN_VER=${KV_FULL} O=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1" }