mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
|
# $Id: PKGBUILD 31268 2009-03-25 10:14:48Z tpowa $
|
||
|
# Originally by kleptophobiac <kleptophobiac@gmail.com>
|
||
|
# Modified by James Rayner for the repositories <iphitus@gmail.com>
|
||
|
|
||
|
pkgname=madwifi-utils
|
||
|
pkgver=0.9.4.3952
|
||
|
_kernver=2.6.29-ARCH
|
||
|
pkgrel=1
|
||
|
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=('f5bac7a3c0b5b374ae60c0d536eb9a74')
|