milis/talimatname/genel/b/broadcom-wl/talimat

40 lines
1.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Broadcom 802.11abgn hibrit ağ kartı sürücüleri
# URL: http://www.broadcom.com/support/802.11/linux_sta.php
# Paketçi: milisarge
# Gerekler: kernel
# Grup: sürücü
isim=broadcom-wl
surum=6.30.223.271
devir=2
kaynak=(http://www.broadcom.com/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz
broadcom-wl.modprobe.d
001-null-pointer-fix.patch
002-rdtscl.patch
003-linux47.patch
004-linux48.patch
005-debian-fix-kernel-warnings.patch
006-linux411.patch
007-linux412.patch
008-linux415.patch)
derle() {
KERNELRELEASE=`uname -r`
patch -p1 -i 001-null-pointer-fix.patch
patch -p1 -i 002-rdtscl.patch
patch -p1 -i 003-linux47.patch
patch -p1 -i 004-linux48.patch
patch -p1 -i 005-debian-fix-kernel-warnings.patch
patch -p1 -i 006-linux411.patch
patch -p1 -i 007-linux412.patch
patch -p1 -i 008-linux415.patch
sed -e "/BRCM_WLAN_IFNAME/s:eth:wlan:" -i src/wl/sys/wl_linux.c
make
install -Dm644 wl.ko "$PKG/lib/modules/$KERNELRELEASE/extra/wl.ko"
gzip "$PKG/lib/modules/$KERNELRELEASE/extra/wl.ko"
install -Dm644 lib/LICENSE.txt $PKG/usr/share/licenses/$isim/LICENSE
install -Dm644 broadcom-wl.modprobe.d $PKG/etc/modprobe.d/broadcom-wl.conf
}