net-wireless/rtl8814au: новый пакет для wifi

mhiretskiy 1931
parent 3dc554b86a
commit 9a3e473c22

@ -0,0 +1 @@
DIST rtl8814au-20190710.zip 2445716 BLAKE2B ab6a2ab762b0c4af76362d472319409137f8fb2a49e481e986aa6f0ceda87c0a12e4b19e32b5c4079604ae88c4bd1a514801bb14771c7c5ef725933ebc568aa2 SHA512 24ec11428b370f35d448b7c99a1bdafc4ec6c5613271002f585f4faa941219ff4aeaeb3154aedfff3c2192872e374049188a5c1b29a5e0acc4eae4ad6b5f27b3

@ -0,0 +1,47 @@
# Copyright 1999-2019 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit linux-mod
COMMIT="741fa1fb07faf909f53de675a218a886e8dc23cd"
DESCRIPTION="Realtek 8814AU USB WiFi module for Linux kernel"
HOMEPAGE="https://github.com/zebulon2/rtl8814au"
SRC_URI="https://github.com/zebulon2/rtl8814au/archive/${COMMIT}.zip -> rtl8814au-${PV}.zip"
LICENSE="GPL-2"
KEYWORDS="amd64 x86"
DEPEND="virtual/linux-sources
app-arch/unzip"
RDEPEND=""
S="${WORKDIR}/rtl8814au-${COMMIT}"
MODULE_NAMES="8814au(net/wireless)"
BUILD_TARGETS="all"
BUILD_TARGET_ARCH="${ARCH}"
src_unpack() {
unpack "${A}"
cd "${S}"
}
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"
}
src_compile(){
linux-mod_src_compile
}
src_install() {
linux-mod_src_install
}
pkg_postinst() {
linux-mod_pkg_postinst
}
Loading…
Cancel
Save