updated on Wed Jan 11 12:00:27 UTC 2012
[aur-mirror.git] / rtl8192se-bfs / PKGBUILD
blobbd101309a16293f8190f29d17292ec3a01fd01c8
1 # Maintainer: Techlive Zheng <techlivezheng [at] gmail [dot] com>
2 # Contributor: Peter Bui <pnutzh4x0r@gmail.com>
4 _kerver="2.6.39-bfs"
5 _pkgname=rtl8192se
6 pkgname=rtl8192se-bfs
7 pkgdesc="Realtek 8192SE wireless chipset drivers for kernel26-bfs."
8 pkgver=2.6.0019.1207.2010
9 pkgrel=4
10 license=("GPL")
11 depends=('kernel26-bfs>=2.6.27' 'kernel26-bfs<2.6.40' 'rtl8192se-firmware=2.6.0019.1207.2010')
12 makedepends=('kernel26-bfs-headers>=2.6.27' 'kernel26-bfs-headers<2.6.40')
13 install="rtl8192se-bfs.install"
14 source=("http://www.nd.edu/~pbui/scratch/aur/${_pkgname}_linux_${pkgver}.tar.gz")
15 changelog=Changelog
16 arch=('i686' 'x86_64')
17 url="http://www.realtek.com.tw/"
19 build() {
20     cd ${srcdir}/${_pkgname}_linux_${pkgver}
22     #sed -i 's/-DENABLE_LPS//' HAL/rtl8192/Makefile || return 1
23     #sed -i 's/-DENABLE_LPS//' HAL/rtl8192/*/Makefile || return 1
25     make KSRC=/lib/modules/${_kerver}/build LINUX_KSRC_MODULE=/lib/modules/${_kerver}/kernel/drivers/net/wireless || return 1
28 package(){
29     cd ${srcdir}/${_pkgname}_linux_${pkgver}
31     install -D -m 644 HAL/rtl8192/r8192se_pci.ko ${pkgdir}/lib/modules/${_kerver}/kernel/drivers/net/wireless/r8192se_pci.ko
34 md5sums=('2c122c209784452fd5bbbad3ef1f7fa1')