mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-19 05:11:05 +02:00
rtl88x2bu_morrownr: this one works
This commit is contained in:
parent
4d808a7a0d
commit
5ded9f1d77
3 changed files with 57 additions and 0 deletions
1
net-wireless/rtl88x2bu_morrownr/Manifest
Normal file
1
net-wireless/rtl88x2bu_morrownr/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST rtl8812au_aircrack-ng-5.6.4.2_p20230708.tar.gz 38973917 BLAKE2B b8e3c7ed2ccd27b231ad766532ceb03b5dc02f09e5552eb78f92d553fa6df30a50a8ad30eb99a0de37d1878c45ae2867fd917a9ddc06a4e5ecd83e1e9693b9cb SHA512 20054fe7f330d815d5299c2435d2dc4c652b3e8431ac09bff86d420c51e6a8c907b3063aee7df3923082c8f7a8a09f716d1428e7f91f80b60632434593b635ee
|
||||
11
net-wireless/rtl88x2bu_morrownr/metadata.xml
Normal file
11
net-wireless/rtl88x2bu_morrownr/metadata.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>sidhayn@gmail.com</email>
|
||||
<name>Zero_Chaos</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">morrownr/88x2bu-20210702</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
@ -0,0 +1,45 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit linux-mod-r1
|
||||
|
||||
DESCRIPTION="RTL88{1,2}2BU driver with monitor mode and frame injection"
|
||||
HOMEPAGE="https://github.com/morrownr/88x2bu-20210702"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/morrownr/88x2bu-20210702.git"
|
||||
#EGIT_BRANCH="1.19.3"
|
||||
else
|
||||
HASH_COMMIT="92c8f97ea24af1e4bacf5d8ae31a5152f2bfa98e"
|
||||
SRC_URI="https://github.com/morrownr/88x2bu-20210702/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
S="${WORKDIR}/88x2bu-20210702-${HASH_COMMIT}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="kernel_linux"
|
||||
|
||||
# compile against selected (not running) target
|
||||
pkg_setup() {
|
||||
if use kernel_linux; then
|
||||
linux-mod-r1_pkg_setup
|
||||
else
|
||||
die "Could not determine proper ${PN} package"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's#-DCONFIG_IEEE80211W#-DCONFIG_IEEE80211W -DCONFIG_RTW_80211R#' Makefile || die
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local modlist=( 88x2bu=misc )
|
||||
local modargs=( KVER="${KV_FULL}" KSRC="${KERNEL_DIR}" )
|
||||
linux-mod-r1_src_compile
|
||||
}
|
||||
Loading…
Reference in a new issue