updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / ipwraw-ng / PKGBUILD
blob970e2d3c19bd7b090773b8d948ebf3e9533f3969
1 # Contributor: Karol Maciaszek <karol.maciaszek@gmail.com>
2 pkgname=ipwraw-ng
3 pkgver=2.3.4
4 pkgrel=1
5 pkgdesc="Intel Pro/Wireless 3945 Injection Walkthrough" 
6 url="http://homepages.tu-darmstadt.de/~p_larbig/wlan/" 
7 license="GPL" 
8 arch=(i686)
9 depends=(kernel26) 
10 makedepends=()
11 _pkgdate=04022008
12 source=("http://dl.aircrack-ng.org/drivers/$pkgname-$pkgver-$_pkgdate.tar.bz2")
13 md5sums=('d62c03a627bbca7ddd7a7cf958014b7b')
14 install=$pkgname.install
15 build() { 
16         cd $startdir/src/$pkgname || return 1
17         make -f Makefile || return 1
18         install -d $startdir/pkg/lib/modules/`uname -r`/kernel/drivers/net/wireless
19         install -m 644 $startdir/src/$pkgname/ipwraw.ko $startdir/pkg/lib/modules/`uname -r`/kernel/drivers/net/wireless
20         install -d $startdir/pkg/lib/firmware
21         install -m 644 $startdir/src/$pkgname/ucode/iwlwifi-3945.ucode $startdir/pkg/lib/firmware