[arch-commits] CVS update of extra/network/kismet (PKGBUILD)
Alexander Baldeck
alexander at archlinux.org
Fri Jun 1 19:09:58 UTC 2007
Date: Friday, June 1, 2007 @ 15:09:58
Author: alexander
Path: /home/cvs-extra/extra/network/kismet
Modified: PKGBUILD (1.16 -> 1.17)
upgpkg: kismet 2007_01_R1b
----------+
PKGBUILD | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
Index: extra/network/kismet/PKGBUILD
diff -u extra/network/kismet/PKGBUILD:1.16 extra/network/kismet/PKGBUILD:1.17
--- extra/network/kismet/PKGBUILD:1.16 Sat Feb 17 19:00:13 2007
+++ extra/network/kismet/PKGBUILD Fri Jun 1 15:09:58 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.16 2007/02/18 00:00:13 jason Exp $
+# $Id: PKGBUILD,v 1.17 2007/06/01 19:09:58 alexander Exp $
# Contributer: Jason Chu <jason at archlinux.org>
# Maintainer: Jason Chu <jason at archlinux.org>
@@ -7,7 +7,12 @@
pkgrel=1
pkgdesc="802.11b sniffing software"
arch=(i686 x86_64)
-depends=(gmp imagemagick)
+license=('GPL')
+if [ ${CARCH} == "x86_64" ]; then
+ depends=('gcc')
+else
+ depends=('gmp' 'imagemagick')
+fi
url="http://www.kismetwireless.net/"
backup=('etc/ap_manuf' 'etc/client_manuf' 'etc/kismet.conf' 'etc/kismet_drone.conf' 'etc/kismet_ui.conf')
source=(http://www.kismetwireless.net/code/kismet-2007-01-R1b.tar.gz)
@@ -15,7 +20,13 @@
build() {
cd $startdir/src/kismet-2007-01-R1b
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+
+ if [ $CARCH == "x86_64" ]; then
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-gpsmap
+ else
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ fi
make dep
make ||return 1
sed -i 's/prism2/wlanng/g' conf/kismet.conf
More information about the arch-commits
mailing list