You are not logged in.

#1 2008-02-18 17:24:24

JaDa
Member
From: Sun City, CA (native German)
Registered: 2007-04-06
Posts: 210
Website

MadWifi Release 0.9.4

Release 0.9.4 available

v0.9.4 is available for download from sourceforge.net.

This release fixes compilation for kernel 2.6.24, introduces a new rate control, adds support for a variable number of VAPs and fixes various bugs. Read more here.

http://madwifi.org/wiki/news/20080213/r … -available

based on the PKGBUILD

cp -r /var/abs/core/support/madwifi ~/package-build/

my build faild to build the packages.

_kernver=2.6.24-ARCH;

pkgname=madwifi
pkgver=0.9.4
pkgrel=1
pkgdesc="Madwifi drivers for Atheros wireless chipsets. For stock arch 2.6 kernel"
arch=(i686 x86_64)
license=('GPL')
url="http://madwifi.org"
depends=('madwifi-utils' 'kernel26>=2.6.24.1-2')
makedepends=('sharutils')
install=madwifi-ng.install
# subversion source: svn checkout http://svn.madwifi.org/madwifi/trunk madwifi
source=(http://internap.dl.sourceforge.net/sourceforge/madwifi/madwifi-0.9.4.tar.gz)

md5sums=('399d20de8d855a59f20058857c2178ad')

build() {
  [ "${CARCH}" == "i686" ] && export ARCH=i386

  #cd $startdir/src/$pkgname-$pkgver
  cd $startdir/src/$pkgname
  sed -i -e 's/-Werror//g' Makefile.inc
  make KERNELPATH=/lib/modules/$_kernver/build KERNELRELEASE=$_kernver modules|| return 1
  make KERNELPATH=/lib/modules/$_kernver/build KERNELRELEASE=$_kernver modules \
       DESTDIR=$startdir/pkg KERNELRELEASE=$_kernver install-modules
  sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install

  # install to wireless kernel directory
  mkdir -p $startdir/pkg/lib/modules/$_kernver/kernel/drivers/net/wireless/madwifi
  mv $startdir/pkg/lib/modules/$_kernver/net/* $startdir/pkg/lib/modules/$_kernver/kernel/drivers/net/wireless/madwifi
  rm -r $startdir/pkg/lib/modules/$_kernver/net/
}

well the problem is in this line

DESTDIR=$startdir/pkg KERNELRELEASE=$_kernver install-modules

what do I miss or what is maybe wrong?


openSUSE
Arch Linux
USALUG

Offline

Board footer

Powered by FluxBB