wok diff broadcom-wl/receipt @ rev 15374

Up apache-mod-perl (2.0.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 17 18:09:17 2013 +0000 (2013-10-17)
parents ab6b8c6c469c
children 8873e661671a
line diff
     1.1 --- a/broadcom-wl/receipt	Thu Aug 23 19:24:51 2012 +0200
     1.2 +++ b/broadcom-wl/receipt	Thu Oct 17 18:09:17 2013 +0000
     1.3 @@ -5,21 +5,17 @@
     1.4  CATEGORY="network"
     1.5  MAINTAINER="jozee@slitaz.org"
     1.6  SHORT_DESC="Broadcom 802.11abg Linux STA Networking Drivers"
     1.7 -DEPENDS="linux"
     1.8 -BUILD_DEPENDS="linux-module-headers xz"
     1.9  WEB_SITE="http://www.broadcom.com/support/802.11/linux_sta.php"
    1.10  TARBALL="hybrid-portsrc_x86_32-v${VERSION}.tar.gz"
    1.11  WGET_URL="http://www.broadcom.com/docs/linux_sta/$TARBALL"
    1.12  TAGS="wireless wifi driver"
    1.13  
    1.14 +DEPENDS="linux"
    1.15 +BUILD_DEPENDS="linux-module-headers xz"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18 -
    1.19 -compile_rules() {
    1.20 - 
    1.21 -	cd $WOK/$PACKAGE
    1.22 -	mkdir -p $PACKAGE-$VERSION
    1.23 -	mv lib src Makefile $PACKAGE-$VERSION
    1.24 -	cd $src
    1.25 +compile_rules()
    1.26 +{
    1.27  	sed -i 's|ndo_set_multicast_list|ndo_set_rx_mode|' src/wl/sys/wl_linux.c
    1.28  	sed -i 's|linux/autoconf.h|generated/autoconf.h|' src/include/linuxver.h
    1.29  	patch -Np1 -i $stuff/semaphore.patch