diff options
author | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2023-06-25 20:02:34 +0500 |
---|---|---|
committer | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2023-06-25 20:05:58 +0500 |
commit | 58bce8820e66a3c12db850ce92a303cacc173d42 (patch) | |
tree | 2e5a2d91bbe5491ff80d799ba3b20cab4f8baa7e /net-wireless | |
parent | app-portage/gentle: add 0.3.0, drop 0.1 (diff) | |
download | guru-58bce8820e66a3c12db850ce92a303cacc173d42.tar.gz guru-58bce8820e66a3c12db850ce92a303cacc173d42.tar.bz2 guru-58bce8820e66a3c12db850ce92a303cacc173d42.zip |
net-wireless/rtl8192eu: code style
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/rtl8192eu/rtl8192eu-0_pre20230613.ebuild | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/net-wireless/rtl8192eu/rtl8192eu-0_pre20230613.ebuild b/net-wireless/rtl8192eu/rtl8192eu-0_pre20230613.ebuild index 0160d4c5f..f2577a184 100644 --- a/net-wireless/rtl8192eu/rtl8192eu-0_pre20230613.ebuild +++ b/net-wireless/rtl8192eu/rtl8192eu-0_pre20230613.ebuild @@ -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" +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 -} |