From 8bb5ae537fe246c42b15a20f31ef8e41256e1f0d Mon Sep 17 00:00:00 2001 From: mid-kid Date: Thu, 3 Mar 2016 15:27:15 +0100 Subject: [PATCH] New satellite: broadcom-wl --- satellites/broadcom-wl.sat | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 satellites/broadcom-wl.sat diff --git a/satellites/broadcom-wl.sat b/satellites/broadcom-wl.sat new file mode 100644 index 0000000..724ff56 --- /dev/null +++ b/satellites/broadcom-wl.sat @@ -0,0 +1,22 @@ +name=broadcom-wl +version=6_30_223_271 +update_url="https://aur.archlinux.org/packages/$name-dkms/" + +dlextract "http://www.broadcom.com/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-$version.tar.gz" \ + "115903050c41d466161784d4c843f4f9" +dlfile "https://aur.archlinux.org/cgit/aur.git/plain/$name-dkms.conf?h=$name-dkms" \ + "b6e8ae4cf217bf68dcf08599bf43fce4" +dlfile "https://aur.archlinux.org/cgit/aur.git/plain/001-null-pointer-fix.patch?h=$name-dkms" \ + "fabbf528164f5e3a9dcf46f46a678f86" +dlfile "https://aur.archlinux.org/cgit/aur.git/plain/002-rdtscl.patch?h=$name-dkms" \ + "76c168a0271cb57d2539a10877979fbd" +header_end + +sed -i -e "/BRCM_WLAN_IFNAME/s:eth:wlan:" src/wl/sys/wl_linux.c +patch -p1 -i 001-null-pointer-fix.patch +patch -p1 -i 002-rdtscl.patch +make KBUILD_DIR="$dir_sysroot/lib/modules/$(uname -r)/build" +make MDEST_DIR="$dir_install/lib/modules/$(uname -r)/kernel/drivers/net/wireless" install +install -Dm 644 "$name-dkms.conf" "$dir_install/etc/modprobe.d/$name.conf" + +# vim:set tabstop=4 shiftwidth=4 syntax=sh et: