wok-6.x view broadcom-wl/receipt @ rev 4714
Fix: libsoup reenable SSL support (for Midori)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jan 04 22:13:37 2010 +0100 (2010-01-04) |
parents | |
children | 4273e906522b |
line source
1 # SliTaz package receipt.
3 PACKAGE="broadcom-wl"
4 VERSION="5.10.91.9.3"
5 CATEGORY="network"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="Broadcom 802.11abg Linux STA Networking Drivers"
8 DEPENDS="linux"
9 WEB_SITE="http://www.broadcom.com/support/802.11/linux_sta.php"
10 TARBALL="hybrid-portsrc-x86_32-v${VERSION}.tar.gz"
11 WGET_URL="http://www.broadcom.com/docs/linux_sta/$TARBALL"
12 TAGS=""
14 # Rules to configure and make the package.
16 compile_rules() {
18 cd $WOK/$PACKAGE
19 mkdir -p $PACKAGE-$VERSION
20 mv lib src Makefile $PACKAGE-$VERSION
21 cd $src
22 [ -d $WOK/linux/taz ] || tazwok cook linux
23 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
24 KBUILD_NOPEDANTIC=1 make -C $WOK/linux/linux-$KERNEL_VERSION M=`pwd`
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
31 EXTRAVERSION=_$KERNEL_VERSION
33 mkdir -p $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/wireless
35 # Compress and install module
36 lzma e $src/wl.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/wireless/wl.ko.gz
37 chown root $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/wireless/wl.ko.gz
38 chmod 0644 $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/wireless/wl.ko.gz
39 }
41 # Post install/remove commands for Tazpkg.
42 post_install()
43 {
44 echo "Processing post-install commands..."
45 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
46 }
48 post_remove()
49 {
50 echo "Processing post-remove commands..."
51 depmod -a
52 }