aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksandr Batyuk <abbat.2008@gmail.com>2020-03-17 15:14:59 +0600
committerAleksandr Batyuk <abbat.2008@gmail.com>2020-03-17 15:14:59 +0600
commit691e59b5b29c9f9328d57e2a57a5402c4078d570 (patch)
treea04aaa1ab1e3666c2208d1c16ffc1bcef5d1944f /net-wireless/rtl8821cu
parentnet-wireless/rtl8821ce: New Package (diff)
downloadguru-691e59b5b29c9f9328d57e2a57a5402c4078d570.tar.gz
guru-691e59b5b29c9f9328d57e2a57a5402c4078d570.tar.bz2
guru-691e59b5b29c9f9328d57e2a57a5402c4078d570.zip
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>
Diffstat (limited to 'net-wireless/rtl8821cu')
-rw-r--r--net-wireless/rtl8821cu/Manifest1
-rw-r--r--net-wireless/rtl8821cu/metadata.xml9
-rw-r--r--net-wireless/rtl8821cu/rtl8821cu-20200302.ebuild42
3 files changed, 52 insertions, 0 deletions
diff --git a/net-wireless/rtl8821cu/Manifest b/net-wireless/rtl8821cu/Manifest
new file mode 100644
index 000000000..5d2ec9288
--- /dev/null
+++ b/net-wireless/rtl8821cu/Manifest
@@ -0,0 +1 @@
+DIST rtl8821cu-20200302.tar.gz 3641031 BLAKE2B c4b8555028b5ddf096f7daf57997d5113aa743e3250bd5cc3b377ac8877a72be5a4a127fdd773e800695a976b55767299c5361aeda45d5004a9e5568743e6a8d SHA512 bd7ae2a6f3259ee9e69d97836870645068c02c3bdcc491e4bdc321c637d4612adfcfb3d31b2643632cbcca30f1cd6f9e030f51169e7fa1dd1841ea665e0cb7e9
diff --git a/net-wireless/rtl8821cu/metadata.xml b/net-wireless/rtl8821cu/metadata.xml
new file mode 100644
index 000000000..7386d29e6
--- /dev/null
+++ b/net-wireless/rtl8821cu/metadata.xml
@@ -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>
diff --git a/net-wireless/rtl8821cu/rtl8821cu-20200302.ebuild b/net-wireless/rtl8821cu/rtl8821cu-20200302.ebuild
new file mode 100644
index 000000000..7a92b2481
--- /dev/null
+++ b/net-wireless/rtl8821cu/rtl8821cu-20200302.ebuild
@@ -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
+}