summaryrefslogtreecommitdiff
path: root/net-wireless/rtl8192eu/rtl8192eu-5.6.4_p20260704.ebuild
blob: 247692e57ad394a924fefd0904cb145844fb7453 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 2020-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# NOTE: The current version can be found in "include/rtw_version.h"

EAPI=8

inherit linux-mod-r1

MY_PN="rtl8192eu-linux-driver"
COMMIT="0877138338d5511d60f260725a0cddccc577c44d"
DESCRIPTION="Realtek 8192EU driver module for Linux kernel"
HOMEPAGE="https://github.com/Mange/rtl8192eu-linux-driver"
SRC_URI="https://github.com/Mange/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${COMMIT}"

LICENSE="GPL-2"
SLOT=0
KEYWORDS="~amd64 ~x86"

CONFIG_CHECK="~!RTL8XXXU CFG80211 USB"
ERROR_RTL8XXXU="The RTL8XXXXU module is enabled in the kernel; it conflicts with this module."

src_compile() {
	local modlist=( 8192eu=net/wireless )
	local modargs=( KSRC="${KV_OUT_DIR}" )

	linux-mod-r1_src_compile
}