summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/wlan-ng26/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-01-07 09:44:40 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-01-07 09:44:40 (GMT)
commit22cb9c31cde8a125c3b7d159d8b50941cb5c7714 (patch)
treeffdf1f5463d1c6fcc968ef15a82837210fba0a39 /abs/core-testing/wlan-ng26/PKGBUILD
parentf018045129450cc43d0e86eedcdd7b43d53ff691 (diff)
downloadlinhes_pkgbuild-22cb9c31cde8a125c3b7d159d8b50941cb5c7714.zip
linhes_pkgbuild-22cb9c31cde8a125c3b7d159d8b50941cb5c7714.tar.gz
linhes_pkgbuild-22cb9c31cde8a125c3b7d159d8b50941cb5c7714.tar.bz2
Updated kernel to 2.6.27. Updated latest PKGBUILD for various packages and recompiled.
Diffstat (limited to 'abs/core-testing/wlan-ng26/PKGBUILD')
-rw-r--r--abs/core-testing/wlan-ng26/PKGBUILD35
1 files changed, 19 insertions, 16 deletions
diff --git a/abs/core-testing/wlan-ng26/PKGBUILD b/abs/core-testing/wlan-ng26/PKGBUILD
index c592386..7d4ff75 100644
--- a/abs/core-testing/wlan-ng26/PKGBUILD
+++ b/abs/core-testing/wlan-ng26/PKGBUILD
@@ -1,35 +1,38 @@
-# $Id: PKGBUILD 7952 2008-08-05 10:33:48Z tpowa $
+# $Id: PKGBUILD 14957 2008-10-11 20:14:56Z tpowa $
# Maintainer: Tom Killian <tom@archlinux.org>
-pkgname=wlan-ng26
-pkgver=0.2.9
+pkgname=wlan-ng26-svn
+pkgver=r1870
pkgrel=1
-_kernver=2.6.26-ARCH
+_kernver=2.6.27-ARCH
pkgdesc="Wireless Lan usb modules. For kernel26."
arch=(i686 x86_64)
license=('MPL')
-depends=('kernel26>=2.6.26-1' 'kernel26<2.6.27' 'wlan-ng26-utils')
-source=(ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/linux-wlan-ng-$pkgver.tar.bz2
- kernel-2.6.26.patch)
+depends=('kernel26>=2.6.27-1' 'kernel26<2.6.28' 'wlan-ng26-utils')
+source=(ftp://ftp.knoppmyth.net/R6/sources/wlan-ng26-svn-$pkgver.tar.bz2
+ kernel-2.6.26.patch
+ kernel-2.6.27.patch)
url="ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/"
install=wlan-ng26.install
options=(!makeflags)
+md5sums=('86af583059976c2f340e27911af49059'
+ '7023c8c1f048659f95c2a41e5f1ae772'
+ '9261df23043b181fd86c5e4100a84883')
build() {
- cd $startdir/src/linux-wlan-ng-$pkgver
- patch -Np0 -i ../kernel-2.6.26.patch || return 1
+# cd $srcdir/linux-wlan-ng-$pkgver
+ cd $srcdir/trunk
+# patch -Np0 -i ../kernel-2.6.26.patch || return 1
+# patch -Np0 -i ../kernel-2.6.27.patch || return 1
# only built usb modules the rest is covered by hostap and orinoco driver, according to gentoo changelog
sed -i "s#PRISM2_PCMCIA=y#PRISM2_PCMCIA=n#;s#TARGET_ROOT_ON_HOST=#TARGET_ROOT_ON_HOST=$startdir/pkg#;s#PRISM2_PLX=y#PRISM2_PLX=n#;s#PRISM2_PCI=y#PRISM2_PCI=n#;s#PRISM2_USB=n#PRISM2_USB=y#;s%#LINUX_SRC=/usr/src/linux%LINUX_SRC=/lib/modules/${_kernver}/build%" config.in
make auto_config
make all || return 1
make install
sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" $startdir/wlan-ng26.install
- rm -r $startdir/pkg/{etc,sbin,usr,init.d}
+ rm -r $pkgdir/{etc,sbin,usr,init.d}
# fix module path
- mkdir -p $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/wireless
- mv $startdir/pkg/lib/modules/${_kernver}/linux-wlan-ng \
- $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/wireless
+ mkdir -p $pkgdir/lib/modules/${_kernver}/kernel/drivers/net/wireless
+ mv $pkgdir/lib/modules/${_kernver}/linux-wlan-ng \
+ $pkgdir/lib/modules/${_kernver}/kernel/drivers/net/wireless
}
-
-md5sums=('96130b36f9674521b08fb3e2a6ac0382'
- '6ed5a5fefc2c149e0e0a98de211ba147')