wok diff madwifi/receipt @ rev 1615

Add perl-curses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 19 21:40:31 2008 +0000 (2008-10-19)
parents 34c8cf508889
children f306d126580e
line diff
     1.1 --- a/madwifi/receipt	Sat Oct 04 14:46:49 2008 +0000
     1.2 +++ b/madwifi/receipt	Sun Oct 19 21:40:31 2008 +0000
     1.3 @@ -1,29 +1,33 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="madwifi"
     1.7 -VERSION="r3366"
     1.8 +VERSION="r3861"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Driver for Atheros-based WLAN cards"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12  DEPENDS=""
    1.13 -SOURCE="madwifi-nr-r3366+ar5007"
    1.14 +SOURCE="madwifi-hal-0.10.5.6-r3861-20080903"
    1.15  TARBALL="$SOURCE.tar.gz"
    1.16  WEB_SITE="http://madwifi.org"
    1.17 -WGET_URL="http://snapshots.madwifi.org/special/$TARBALL"
    1.18 +WGET_URL="http://snapshots.madwifi.org/madwifi-hal-0.10.5.6/$TARBALL"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23 -	src="madwifi-ng-r3366+ar5007"
    1.24 -	cd "$src"
    1.25 -	make clean 
    1.26 -	make && \
    1.27 +	if [ ! -d $WOK/linux/taz ]; then
    1.28 +		tazwok cook linux
    1.29 +	fi
    1.30 +	cd "$SOURCE"
    1.31 +	export KERNELPATH=$(ls -d $WOK/linux/linux-*)
    1.32 +	echo "KERNELPATH=$KERNELPATH"
    1.33 +	make KERNELPATH=$KERNELPATH clean
    1.34 +	make KERNELPATH=$KERNELPATH &&
    1.35  	make DESTDIR=$PWD/_pkg install
    1.36  }
    1.37  
    1.38  genpkg_rules()
    1.39  {
    1.40 -	_pkg="madwifi-ng-r3366+ar5007/_pkg"
    1.41 +	_pkg="$SOURCE/_pkg"
    1.42  	KVER=`grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
    1.43  	EXTRAVERSION=_$KVER
    1.44