blob: ad08ac70270d050f135ccb57f2e02a23802e2fde (
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 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit linux-mod
COMMIT="9557ed2796f864b4d73abad8a4a3b0772254b59f"
DESCRIPTION="Realtek 8192EU driver module for Linux kernel"
HOMEPAGE="https://github.com/Mange/rtl8192eu-linux-driver"
SRC_URI="https://github.com/Mange/rtl8192eu-linux-driver/archive/${COMMIT}.tar.gz -> rtl8192eu-${PV}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
DEPEND="virtual/linux-sources"
S="${WORKDIR}/rtl8192eu-linux-driver-${COMMIT}"
MODULE_NAMES="8192eu(net/wireless)"
BUILD_TARGETS="all"
CONFIG_CHECK="~!RTL8XXXU"
ERROR_RTL8XXXU="The RTL8XXXXU module is enabled in the kernel; it conflicts with this module."
pkg_setup() {
linux-mod_pkg_setup
BUILD_PARAMS="KSRC=${KERNEL_DIR}"
}
|