diff options
Diffstat (limited to 'abs/core-testing/madwifi/PKGBUILD')
-rw-r--r-- | abs/core-testing/madwifi/PKGBUILD | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/abs/core-testing/madwifi/PKGBUILD b/abs/core-testing/madwifi/PKGBUILD deleted file mode 100644 index a6cb369..0000000 --- a/abs/core-testing/madwifi/PKGBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# $Id: PKGBUILD 80421 2010-05-17 08:11:17Z tpowa $ -# Originally by kleptophobiac <kleptophobiac@gmail.com> -# Modified by James Rayner for the repositories <iphitus@gmail.com> - -_kernver=2.6.34-LinHES - -pkgname=madwifi -pkgver=0.9.4.4119 -pkgrel=2 -pkgdesc="Madwifi drivers for Atheros wireless chipsets. For stock arch 2.6 kernel" -arch=(i686 x86_64) -license=('GPL') -url="http://madwifi-project.org" -depends=('madwifi-utils' 'kernel26>=2.6.34' 'kernel26<2.6.35') -makedepends=('kernel26-headers>=2.6.34' 'kernel26-headers<2.6.35') -makedepends=('sharutils') -install=madwifi-ng.install -# subversion source: svn checkout http:/madwifi-project.org/svn/madwifi/trunk madwifi -source=(ftp://ftp.archlinux.org/other/madwifi/madwifi-${pkgver}.tar.bz2 - #http://downloads.sourceforge.net/madwifi/madwifi-${pkgver}.tar.gz - ) - -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/ -} - -md5sums=('a720a20264b312c0ff906b9888bb49ae') |