net-wireless/rtl8821ce: New package

Realtek RTL8821CE Driver module for Linux kernel.

Closes: https://bugs.gentoo.org/696980
Tested-by: Aleksandr Batyuk <abbat.2008@gmail.com>
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Aleksandr Batyuk <abbat.2008@gmail.com>
This commit is contained in:
Aleksandr Batyuk
2020-03-17 15:14:59 +06:00
parent ec183334ef
commit 691e59b5b2
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST rtl8821cu-20200302.tar.gz 3641031 BLAKE2B c4b8555028b5ddf096f7daf57997d5113aa743e3250bd5cc3b377ac8877a72be5a4a127fdd773e800695a976b55767299c5361aeda45d5004a9e5568743e6a8d SHA512 bd7ae2a6f3259ee9e69d97836870645068c02c3bdcc491e4bdc321c637d4612adfcfb3d31b2643632cbcca30f1cd6f9e030f51169e7fa1dd1841ea665e0cb7e9

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>abbat.2008@gmail.com</email>
<name>Aleksandr Batyuk</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,42 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit linux-mod
COMMIT="ca0bcba405f8865e6acd6a6d3cacf93f7e1b8a2c"
DESCRIPTION="Realtek 8821CU/RTL8811CU 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"
src_unpack() {
unpack ${A}
cd "${S}"
}
pkg_setup() {
linux-mod_pkg_setup
}
src_compile(){
linux-mod_src_compile
}
src_install() {
linux-mod_src_install
}
pkg_postinst() {
linux-mod_pkg_postinst
}