summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/wlan-ng26-svn/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/wlan-ng26-svn/PKGBUILD')
-rw-r--r--abs/core-testing/wlan-ng26-svn/PKGBUILD38
1 files changed, 0 insertions, 38 deletions
diff --git a/abs/core-testing/wlan-ng26-svn/PKGBUILD b/abs/core-testing/wlan-ng26-svn/PKGBUILD
deleted file mode 100644
index 7d4ff75..0000000
--- a/abs/core-testing/wlan-ng26-svn/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# $Id: PKGBUILD 14957 2008-10-11 20:14:56Z tpowa $
-# Maintainer: Tom Killian <tom@archlinux.org>
-
-pkgname=wlan-ng26-svn
-pkgver=r1870
-pkgrel=1
-_kernver=2.6.27-ARCH
-pkgdesc="Wireless Lan usb modules. For kernel26."
-arch=(i686 x86_64)
-license=('MPL')
-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 $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 $pkgdir/{etc,sbin,usr,init.d}
- # fix module path
- 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
-}