Add net-wireless/rtl8821cu

This commit is contained in:
Stefan Reimer 2020-04-18 15:52:48 +01:00
parent c959aa40fb
commit 56285959ee
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST rtl8821cu-20200302.tar.gz 3641031 BLAKE2B c4b8555028b5ddf096f7daf57997d5113aa743e3250bd5cc3b377ac8877a72be5a4a127fdd773e800695a976b55767299c5361aeda45d5004a9e5568743e6a8d SHA512 bd7ae2a6f3259ee9e69d97836870645068c02c3bdcc491e4bdc321c637d4612adfcfb3d31b2643632cbcca30f1cd6f9e030f51169e7fa1dd1841ea665e0cb7e9
EBUILD rtl8821cu-20200302.ebuild 874 BLAKE2B 8194df193355867245f596c99eacc59075f0a8699c6ed339b425fa3630f97c50bebb47bc55de2c2d737aff8d7c1c5ce3133622d286664963ec1112d6c6374ef9 SHA512 78152b443e6720209d893f107a95445bdaad5d6cae568808f05fc6764b3a6b744b3c2f74c3df50a021f093b24c63aac8c061502a30ab8bad37cf504e84d3722d

View File

@ -0,0 +1,39 @@
# Copyright 1999-2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit linux-mod
COMMIT="ca0bcba405f8865e6acd6a6d3cacf93f7e1b8a2c"
DESCRIPTION="Realtek 8821(*U)/8811CU/8812A/8192E/8814A/8822B/8723(*U)/8188E(**) module for Linux kernel"
HOMEPAGE="https://github.com/brektrou/rtl8821CU"
SRC_URI="https://github.com/brektrou/rtl8821CU/archive/${COMMIT}.tar.gz -> rtl8821cu-${PV}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="amd64 x86"
DEPEND="virtual/linux-sources"
S="${WORKDIR}/rtl8821CU-${COMMIT}"
MODULE_NAMES="8821cu(net/wireless)"
BUILD_TARGETS="all"
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
}