diff options
author | PÁLI Gábor János <pali.gabor@gmail.com> | 2023-09-17 18:17:19 +0200 |
---|---|---|
committer | PÁLI Gábor János <pali.gabor@gmail.com> | 2023-09-17 20:42:35 +0200 |
commit | 66bb8eefc9693b3a0893c8a42aa191916405cb61 (patch) | |
tree | fbb65a620e787b3d069d8c12acdeee90f5fa348f /aports/rtl8821ce-edge | |
parent | 89279d87c5d3e0ea330be1f927e3f3bc59dbc2a7 (diff) | |
download | freebsd-wifibox-alpine-66bb8eefc9693b3a0893c8a42aa191916405cb61.zip |
Import Linux 6.5 (edge, stable) as a secondary version
Start offering support for Linux stable for users who might
experience problems with the long-term (LTS, currently 6.1) series
of kernels. But it may also be handy to get more hardware support,
benefits of major changes in the stack, and get ready for the
adoption of the next long-term series.
Diffstat (limited to 'aports/rtl8821ce-edge')
-rw-r--r-- | aports/rtl8821ce-edge/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/aports/rtl8821ce-edge/APKBUILD b/aports/rtl8821ce-edge/APKBUILD new file mode 100644 index 0000000..8121bc6 --- /dev/null +++ b/aports/rtl8821ce-edge/APKBUILD @@ -0,0 +1,32 @@ +# Maintainer: Gabor Pali <pali.gabor@gmail.com> + +pkgname='rtl8821ce-edge' +pkgver=20230915 +pkgrel=0 +_gitrev='0d2c745d7ef023bccd63cf79e98556f0b5a39024' +pkgdesc='Driver for Realtek 8821CE, an 802.11ac device (edge)' +arch="x86_64" +url='https://github.com/tomaspinho/rtl8821ce' +license="GPL-2.0" +makedepends="linux-edge-dev xz" +depends="linux-edge" +install= +options="!check !strip" +source="https://github.com/tomaspinho/rtl8821ce/archive/${_gitrev}.zip" + +_kver=$(cd /usr/src/ && find . -mindepth 1 -maxdepth 1 -type d -name '*-edge' | sed 's!./linux-headers-!!') +_kbase="/lib/modules/${_kver}" +_srcdir="$srcdir/rtl8821ce-$_gitrev" + +build() { + make -C "$_srcdir" -j8 KVER="$_kver" +} + +package() { + xz "$_srcdir"/*.ko + install -p -D -m 644 "$_srcdir"/*.ko.xz -t "$pkgdir"/lib/modules/"$_kver"/kernel/drivers/net/wireless/realtek/rtl8821ce +} + +sha512sums=" +48b0ce599f580275aa836c9dd046721e65733831608104fde4b7a533defd533b124a9d28a1080473556723fb29eb38595e035c65098740f077c9900943a79e22 0d2c745d7ef023bccd63cf79e98556f0b5a39024.zip +" |