summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/atl1e/PKGBUILD
blob: 64acdfe2c8c9023be76cab47c980c2ee1e134b45 (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
# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $
# Maintainer: Cecil Watson<knoppmyth@gmail.com>

pkgname=atl1e
_kernver=2.6.28-LinHES
pkgver=1
pkgrel=1
pkgdesc="AR81 Family Linux wireless drivers"
arch=('i686' 'x86_64')
license=('GPL2')
url="http://partner.atheros.com/Drivers.aspx"
depends=('kernel26')
makedepends=(kernel-headers)
install=atl1e.install
source=('ftp://ftp.knoppmyth.net/R6/sources/AR81Family-Linux-v1.0.1.9.tar.gz')

build() {
  cd $startdir/src/src/
  mkdir -p $pkgdir/lib/modules/$(uname -r)/kernel/drivers/net/atl1e
  mkdir -p $pkgdir/usr/man/man/man7
  make KERNDIR=/lib/modules/$_kernver/build \
  INSTDIR=$startdir/pkg KERNELRELEASE=$_kernver || return 1
  make KERNDIR=/lib/modules/$_kernver/build \
  INSTDIR=$startdir/pkg/lib/modules/$(uname -r)/kernel/drivers/net/atl1e KERNELRELEASE=$_kernver install || return 1
  install -D -m 644 atl1e.7.gz $pkgdir/usr/man/man/man7/atl1e.7.gz
}
md5sums=('0d07d98e8941da5232768a154de183fa')