parent
72bce84290
commit
53b4bf8bb1
@ -0,0 +1 @@
|
|||||||
|
DIST rtl8821c-20191119.zip 5007371 BLAKE2B f9a0277975e0c972983ea3a3ca3357afd838569161bee14bdf5d7d8c2e063a82db1dc60aa923067d29c9505d3a2df21e1910b6ee29f0f6b4d4b8c7913d72f9ec SHA512 5133fe3065aca0d4e0b6dc753cc7edf9f5c96f0862a3509a21468b667ec304769df8e9186731baba7349f487d8c7b70c0e4a0e255a55c4f72b4fd911081f55ec
|
@ -0,0 +1,46 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
inherit linux-mod
|
||||||
|
|
||||||
|
COMMIT="27f98a55cc48b9a26e6eb4127976c8feb95867d8"
|
||||||
|
|
||||||
|
DESCRIPTION="Realtek RTL8821CE Driver module for Linux kernel"
|
||||||
|
HOMEPAGE="https://github.com/tomaspinho/rtl8821ce"
|
||||||
|
SRC_URI="https://codeload.github.com/tomaspinho/rtl8821ce/zip/${COMMIT} -> rtl8821c-${PV}.zip"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
KEYWORDS="amd64 x86"
|
||||||
|
|
||||||
|
DEPEND="virtual/linux-sources"
|
||||||
|
RDEPEND=""
|
||||||
|
|
||||||
|
S="${WORKDIR}/rtl8821ce-${COMMIT}"
|
||||||
|
|
||||||
|
MODULE_NAMES="8821ce(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…
Reference in new issue