rtl88x2bu REALTEK RTL88x2B USB Linux Driver

This commit is contained in:
Rmys
2023-03-15 21:56:15 +03:00
parent a922ad3cce
commit fa429f777f
7 changed files with 322 additions and 40 deletions
+27
View File
@@ -0,0 +1,27 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import kerneltools
KDIR = kerneltools.getKernelVersion()
KVER ="5.15.102"
def build():
autotools.make("KVER=%s" % KVER )
def install():
pisitools.insinto("/lib/modules/%s/kernel/drivers/net/wireless" % KDIR, "*.ko")
pisitools.insinto("/etc/modprobe.d", "88x2bu.conf")
shelltools.chmod(get.installDIR() + "/etc/modprobe.d/88x2bu.conf")
shelltools.chmod(get.installDIR() + "/lib/modules/%s/kernel/drivers/net/wireless/*.ko" % KDIR )
pisitools.dodoc("README*", "LICENSE")
+47
View File
@@ -0,0 +1,47 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>rtl88x2bu</Name>
<Homepage>https://github.com/RinCat/rtl88x2bu-Linux-Driver</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>driver</IsA>
<Summary>REALTEK RTL88x2B USB Linux Driver</Summary>
<Icon>rtl88x2bu</Icon>
<Description>REALTEK RTL88x2B USB Linux Driver</Description>
<Archive sha1sum="7259596df268750373e3a8bef261790158bf59e8" type="zip">https://github.com/morrownr/88x2bu-20210702/archive/refs/heads/main.zip</Archive>
<BuildDependencies>
<Dependency>bc</Dependency>
<Dependency version="5.15.102">kernel-module-headers</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>rtl88x2bu.patch</Patch>
<Patch level="1">rtl88x2bu.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>rtl88x2bu</Name>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="library">/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2023-03-15</Date>
<Version>2023.03.14</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>RTL88x2BU</Name>
<Summary xml:lang="tr">REALTEK RTL88x2B USB Linux Driver</Summary>
<Description xml:lang="tr">REALTEK RTL88x2B USB Linux Driver</Description>
</Source>
</PISI>