wok view broadcom-wl64/receipt @ rev 22633

updated dbus, dbus-dev and dbus-helper (1.6.22 -> 1.12.16)
author Hans-G?nter Theisgen
date Mon Jan 13 13:56:07 2020 +0100 (2020-01-13)
parents
children 429cd2dffc4f
line source
1 # SliTaz package receipt.
3 PACKAGE="broadcom-wl64"
4 VERSION="5_100_82_112"
5 CATEGORY="network"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="other"
8 SHORT_DESC="Broadcom 802.11abg Linux STA Networking Drivers"
9 WEB_SITE="http://www.broadcom.com/support/802.11/linux_sta.php"
10 TARBALL="hybrid-portsrc_x86_64-v${VERSION}.tar.gz"
11 WGET_URL="http://www.broadcom.com/docs/linux_sta/$TARBALL"
12 TAGS="wireless wifi driver"
13 PROVIDE="broadcom-wl:linux64"
15 DEPENDS="linux"
16 BUILD_DEPENDS="linux64-module-headers xz uclibc-cross-compiler-x86_64"
18 AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8("
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i 's|ndo_set_multicast_list|ndo_set_rx_mode|' src/wl/sys/wl_linux.c
24 sed -i 's|linux/autoconf.h|generated/autoconf.h|' src/include/linuxver.h
25 for i in semaphore 3.4.0 3.6.0 3.8.0 3.9.0 3.14.0 ; do
26 echo "patch $i ..."
27 patch -Np2 -i $stuff/$i.patch
28 done
29 KBUILD_NOPEDANTIC=1 make -C /usr/src/linux M=`pwd`
30 xz wl.ko
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 EXTRAVERSION=_${kvers}
37 mkdir -p $fs/lib/modules/${kvers}-slitaz64/kernel/drivers/net/wireless
38 # Compress and install module
39 install -o root -m 0644 $src/wl.ko.xz \
40 $fs/lib/modules/${kvers}-slitaz64/kernel/drivers/net/wireless/wl.ko.xz
41 }
43 # Post install/remove commands for Tazpkg.
44 post_install()
45 {
46 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz64
47 }
49 post_remove()
50 {
51 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz64
52 }