summaryrefslogtreecommitdiffstats
path: root/abs/core/madwifi-utils/PKGBUILD
blob: 624698318d12e5daeb0d5afd5ed6d8e46ae728d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $Id: PKGBUILD 7960 2008-08-05 10:51:02Z tpowa $
# Originally by kleptophobiac <kleptophobiac@gmail.com>
# Modified by James Rayner for the repositories <iphitus@gmail.com>

pkgname=madwifi-utils
pkgver=0.9.4.3844
_kernver=2.6.28-LinHES
pkgrel=3
pkgdesc="Userspace tools of madwifi drivers for Atheros wireless chipsets."
arch=(i686 x86_64)
license=('GPL')
url="http://madwifi.org"
depends=('wireless_tools')
makedepends=('sharutils')
provides=("madwifi-ng-utils")
conflicts=("madwifi-ng-utils")
replaces=("madwifi-ng-utils")
# subversion source: svn checkout http://svn.madwifi.org/madwifi/trunk madwifi
source=(ftp://ftp.archlinux.org/other/madwifi/madwifi-${pkgver}.tar.bz2
	#http://downloads.sourceforge.net/sourceforge/madwifi/madwifi-$pkgver.tar.gz
	)

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

  export KERNELPATH=/lib/modules/${_kernver}/build
  #cd $startdir/src/madwifi-$pkgver
  cd $startdir/src/madwifi
  make tools|| return 1
  make DESTDIR=$startdir/pkg \
       BINDIR=/usr/bin \
       MANDIR=/usr/share/man \
       install-tools
}
md5sums=('fc8b627774a91a5f0d6bd4e0d0b206fd')