diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core/wlan-ng26-utils/PKGBUILD | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core/wlan-ng26-utils/PKGBUILD')
-rw-r--r-- | abs/core/wlan-ng26-utils/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/core/wlan-ng26-utils/PKGBUILD b/abs/core/wlan-ng26-utils/PKGBUILD new file mode 100644 index 0000000..e842c99 --- /dev/null +++ b/abs/core/wlan-ng26-utils/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 7972 2008-08-05 11:03:19Z tpowa $ +# Maintainer: Tom Killian <tom@archlinux.org> + +pkgname=wlan-ng26-utils +pkgver=0.2.9 +pkgrel=1 +pkgdesc="Wireless Lan userspace tools." +depends=('glibc' 'bash') +makedepends=('kernel26') +source=(ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/linux-wlan-ng-$pkgver.tar.bz2 \ + wlan-ng.patch wlan kernel-2.6.26.patch) +url="ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/" +backup=(etc/wlan/wlan.conf) +arch=('i686' 'x86_64') +license=('MPL') + +build() { + cd $startdir/src/linux-wlan-ng-$pkgver + patch -Np0 -i ../kernel-2.6.26.patch || return 1 + sed -i "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#" config.in + patch -p1 < ../wlan-ng.patch + make auto_config + make all || return 1 + make install + mkdir -p $startdir/pkg/etc/rc.d + rm -r $startdir/pkg/{init.d,lib,etc/pcmcia} + install -m 755 $startdir/src/wlan $startdir/pkg/etc/rc.d/wlan +} +md5sums=('96130b36f9674521b08fb3e2a6ac0382' + '706464f9e6e127558aed25b9f454f905' + '1056365bdbe7102b1a668c84926ecb17' + '6ed5a5fefc2c149e0e0a98de211ba147') |