wok-6.x rev 15056

broadcom-wl: no source file to move
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 10:27:54 2013 +0000 (2013-08-13)
parents 9eb4cd5b5d07
children 26d6480cadd4
files broadcom-wl/receipt
line diff
     1.1 --- a/broadcom-wl/receipt	Mon Aug 12 21:48:15 2013 +0000
     1.2 +++ b/broadcom-wl/receipt	Tue Aug 13 10:27:54 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