wok-6.x diff broadcom-wl64/receipt @ rev 22029
updated tiff, tiff-apps and tiff-dev (4.0.3 -> 4.0.10)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Oct 20 17:03:34 2019 +0100 (2019-10-20) |
parents | |
children | 429cd2dffc4f |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/broadcom-wl64/receipt Sun Oct 20 17:03:34 2019 +0100 1.3 @@ -0,0 +1,52 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="broadcom-wl64" 1.7 +VERSION="5_100_82_112" 1.8 +CATEGORY="network" 1.9 +MAINTAINER="jozee@slitaz.org" 1.10 +LICENSE="other" 1.11 +SHORT_DESC="Broadcom 802.11abg Linux STA Networking Drivers" 1.12 +WEB_SITE="http://www.broadcom.com/support/802.11/linux_sta.php" 1.13 +TARBALL="hybrid-portsrc_x86_64-v${VERSION}.tar.gz" 1.14 +WGET_URL="http://www.broadcom.com/docs/linux_sta/$TARBALL" 1.15 +TAGS="wireless wifi driver" 1.16 +PROVIDE="broadcom-wl:linux64" 1.17 + 1.18 +DEPENDS="linux" 1.19 +BUILD_DEPENDS="linux64-module-headers xz uclibc-cross-compiler-x86_64" 1.20 + 1.21 +AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8(" 1.22 + 1.23 +# Rules to configure and make the package. 1.24 +compile_rules() 1.25 +{ 1.26 + sed -i 's|ndo_set_multicast_list|ndo_set_rx_mode|' src/wl/sys/wl_linux.c 1.27 + sed -i 's|linux/autoconf.h|generated/autoconf.h|' src/include/linuxver.h 1.28 + for i in semaphore 3.4.0 3.6.0 3.8.0 3.9.0 3.14.0 ; do 1.29 + echo "patch $i ..." 1.30 + patch -Np2 -i $stuff/$i.patch 1.31 + done 1.32 + KBUILD_NOPEDANTIC=1 make -C /usr/src/linux M=`pwd` 1.33 + xz wl.ko 1.34 +} 1.35 + 1.36 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 +genpkg_rules() 1.38 +{ 1.39 + EXTRAVERSION=_${kvers} 1.40 + mkdir -p $fs/lib/modules/${kvers}-slitaz64/kernel/drivers/net/wireless 1.41 + # Compress and install module 1.42 + install -o root -m 0644 $src/wl.ko.xz \ 1.43 + $fs/lib/modules/${kvers}-slitaz64/kernel/drivers/net/wireless/wl.ko.xz 1.44 +} 1.45 + 1.46 +# Post install/remove commands for Tazpkg. 1.47 +post_install() 1.48 +{ 1.49 + chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz64 1.50 +} 1.51 + 1.52 +post_remove() 1.53 +{ 1.54 + chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz64 1.55 +}