diff options
author | James Meyer <james.meyer@operamail.com> | 2009-03-14 03:25:11 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-03-14 03:25:11 (GMT) |
commit | a501f7114b788b2879bab105ed4dcd7ed6a94f39 (patch) | |
tree | 2eaefb5c806a9a3f01cc5f3e8f7da4f8c293ae8b /abs/core-testing/wlan-ng26-svn/PKGBUILD | |
parent | 503a4b30b1640a711467cea88f2ffa3af5c5ee9f (diff) | |
download | linhes_pkgbuild-a501f7114b788b2879bab105ed4dcd7ed6a94f39.zip linhes_pkgbuild-a501f7114b788b2879bab105ed4dcd7ed6a94f39.tar.gz linhes_pkgbuild-a501f7114b788b2879bab105ed4dcd7ed6a94f39.tar.bz2 |
Rename wlan-ng26 to wlan-ng26-svn. Not for sure these are in use anymore.
Diffstat (limited to 'abs/core-testing/wlan-ng26-svn/PKGBUILD')
-rw-r--r-- | abs/core-testing/wlan-ng26-svn/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/abs/core-testing/wlan-ng26-svn/PKGBUILD b/abs/core-testing/wlan-ng26-svn/PKGBUILD new file mode 100644 index 0000000..7d4ff75 --- /dev/null +++ b/abs/core-testing/wlan-ng26-svn/PKGBUILD @@ -0,0 +1,38 @@ +# $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 +} |