mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
net-wireless/rtl8192eu: code style
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -2,32 +2,26 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit linux-mod-r1
|
||||
SLOT=0
|
||||
COMMIT="f2fc8af7ab58d2123eed1aa4428e713cdfc27976"
|
||||
|
||||
inherit linux-mod-r1
|
||||
|
||||
MY_PN="rtl8192eu-linux-driver"
|
||||
COMMIT="f2fc8af7ab58d2123eed1aa4428e713cdfc27976"
|
||||
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"
|
||||
SRC_URI="https://github.com/Mange/${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}/rtl8192eu-linux-driver-${COMMIT}"
|
||||
|
||||
CONFIG_CHECK="~!RTL8XXXU"
|
||||
ERROR_RTL8XXXU="The RTL8XXXXU module is enabled in the kernel; it conflicts with this module."
|
||||
|
||||
src_compile() {
|
||||
linux-mod-r1_pkg_setup
|
||||
local modlist=(8192eu=net/wireless)
|
||||
local modargs=(KSRC=$KV_OUT_DIR)
|
||||
local modlist=( 8192eu=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