summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/madwifi-utils
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/madwifi-utils
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/madwifi-utils')
-rw-r--r--abs/core-testing/madwifi-utils/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/core-testing/madwifi-utils/PKGBUILD b/abs/core-testing/madwifi-utils/PKGBUILD
new file mode 100644
index 0000000..fc821ba
--- /dev/null
+++ b/abs/core-testing/madwifi-utils/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 7960 2008-08-05 10:51:02Z tpowa $
+# Originally by kleptophobiac <kleptophobiac@gmail.com>
+# Modified by James Rayner for the repositories <iphitus@gmail.com>
+
+pkgname=madwifi-utils
+pkgver=0.9.4.3844
+_kernver=2.6.26-ARCH
+pkgrel=1
+pkgdesc="Userspace tools of madwifi drivers for Atheros wireless chipsets."
+arch=(i686 x86_64)
+license=('GPL')
+url="http://madwifi.org"
+depends=('wireless_tools')
+makedepends=('sharutils')
+provides=("madwifi-ng-utils")
+conflicts=("madwifi-ng-utils")
+replaces=("madwifi-ng-utils")
+# subversion source: svn checkout http://svn.madwifi.org/madwifi/trunk madwifi
+source=(ftp://ftp.archlinux.org/other/madwifi/madwifi-${pkgver}.tar.bz2
+ #http://downloads.sourceforge.net/sourceforge/madwifi/madwifi-$pkgver.tar.gz
+ )
+
+build() {
+ [ "${CARCH}" == "i686" ] && export ARCH=i386
+
+ export KERNELPATH=/lib/modules/${_kernver}/build
+ #cd $startdir/src/madwifi-$pkgver
+ cd $startdir/src/madwifi
+ make tools|| return 1
+ make DESTDIR=$startdir/pkg \
+ BINDIR=/usr/bin \
+ MANDIR=/usr/share/man \
+ install-tools
+}
+md5sums=('fc8b627774a91a5f0d6bd4e0d0b206fd')