diff options
Diffstat (limited to 'network')
-rw-r--r-- | network/kismet/kismet.SlackBuild | 13 | ||||
-rw-r--r-- | network/kismet/kismet.info | 6 |
2 files changed, 11 insertions, 8 deletions
diff --git a/network/kismet/kismet.SlackBuild b/network/kismet/kismet.SlackBuild index 1dc819b5a7..18866a7506 100644 --- a/network/kismet/kismet.SlackBuild +++ b/network/kismet/kismet.SlackBuild @@ -5,7 +5,7 @@ # Modified by Robby Workman <rworkman@slackbuilds.org> PRGNAM=kismet -VERSION=2007_10_R1 +VERSION=2008_05_R1 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -19,6 +19,8 @@ if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" fi set -e # Exit on most errors @@ -38,13 +40,14 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --sysconfdir=/etc/kismet \ --localstatedir=/var \ - --mandir=/usr/man + --mandir=/usr/man \ + --build=$ARCH-slackware-linux -make -make install MANGRP=root DESTDIR=$PKG +make +make install MANGRP=root DESTDIR=$PKG ( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null ) diff --git a/network/kismet/kismet.info b/network/kismet/kismet.info index 59a30978b8..e1174f0d0d 100644 --- a/network/kismet/kismet.info +++ b/network/kismet/kismet.info @@ -1,8 +1,8 @@ PRGNAM="kismet" -VERSION="2007_10_R1" +VERSION="2008_05_R1" HOMEPAGE="http://kismetwireless.net/" -DOWNLOAD="http://kismetwireless.net/code/kismet-2007-10-R1.tar.gz" -MD5SUM="2100c667e69db0cde35fa2d06c8516e2" +DOWNLOAD="http://kismetwireless.net/code/kismet-2008-05-R1.tar.gz" +MD5SUM="6ee365d36354b4dee4945e67f8149294" MAINTAINER="Audrius Kazukauskas" EMAIL="neobug@tornado.ktu.lt" APPROVED="rworkman" |