mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
net-wireless/rtl8821cu: Ebuild fix
Signed-off-by: Aleksandr Batyuk <abbat.2008@gmail.com>
This commit is contained in:
@@ -5,29 +5,21 @@ EAPI=8
|
||||
|
||||
inherit linux-mod-r1
|
||||
|
||||
SLOT=0
|
||||
|
||||
MY_PN="8821cu-20210916"
|
||||
COMMIT="dc9ee6c6a8b47d0e365fcf1977439c7243da71d5"
|
||||
|
||||
DESCRIPTION="Realtek 8821CU/RTL8811CU module for Linux kernel"
|
||||
HOMEPAGE="https://github.com/morrownr/8821cu-20210916"
|
||||
SRC_URI="https://github.com/morrownr/8821cu-20210916/archive/${COMMIT}.tar.gz -> rtl8821cu-${PV}.tar.gz"
|
||||
SRC_URI="https://github.com/morrownr/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}-${COMMIT}"
|
||||
|
||||
SLOT=0
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="virtual/linux-sources"
|
||||
|
||||
S="${WORKDIR}/8821cu-20210916-${COMMIT}"
|
||||
|
||||
src_compile() {
|
||||
linux-mod-r1_pkg_setup
|
||||
|
||||
local modlist=(8821cu=net/wireless)
|
||||
|
||||
local modlist=( 8821cu=net/wireless )
|
||||
local modargs=( KSRC="${KV_OUT_DIR}" )
|
||||
linux-mod-r1_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod-r1_src_install
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user