void-packages/srcpkgs/kismet/template

26 lines
913 B
Bash
Raw Normal View History

2015-11-30 16:40:44 +00:00
# Template file for 'kismet'
pkgname=kismet
version=2013.03.R1b
revision=1
_realver="${version//./-}"
wrksrc="${pkgname}-${_realver}"
build_style=gnu-configure
make_build_args="dep all plugins"
make_install_args="suidinstall plugins-install"
conf_files="/etc/kismet.conf /etc/kismet_drone.conf"
system_groups="kismet"
hostmakedepends="pkg-config"
makedepends="libpcap-devel pcre-devel libbluetooth-devel libcap-devel ncurses-devel"
depends="libcap-progs"
short_desc="Wireless network detector, sniffer, and intrusion detection system"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://www.kismetwireless.net/"
distfiles="http://www.kismetwireless.net/code/${pkgname}-${_realver}.tar.gz"
checksum=c0bb8a8f47061e2ffc965b0557bab9a1b3d63b5a50b744663f66518aec7fbc77
post_extract() {
# for musl
sed -i '/<linux\/if_tun.h>/i#include <netinet/if_ether.h>' dumpfile_tuntap.h
}