2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-10-30 10:16:51 +01:00
|
|
|
#
|
|
|
|
# kismet
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-10-30 10:16:51 +01:00
|
|
|
|
2014-12-11 18:51:36 +01:00
|
|
|
KISMET_VERSION = Kismet-2014-02-R1
|
|
|
|
KISMET_SITE = http://www.kismetwireless.net/kismet.git
|
|
|
|
KISMET_SITE_METHOD = git
|
2013-04-12 01:49:41 +02:00
|
|
|
KISMET_DEPENDENCIES = host-pkgconf libpcap ncurses libnl
|
2014-09-27 21:32:44 +02:00
|
|
|
KISMET_CONF_OPTS += --with-netlink-version=3
|
2013-01-29 09:23:58 +01:00
|
|
|
KISMET_LICENSE = GPLv2+
|
2013-04-11 23:57:07 +02:00
|
|
|
KISMET_LICENSE_FILES = debian/copyright
|
2007-10-30 10:16:51 +01:00
|
|
|
|
2014-12-26 22:08:00 +01:00
|
|
|
# We touch configure.in:
|
|
|
|
KISMET_AUTORECONF = YES
|
|
|
|
|
2014-12-26 22:08:02 +01:00
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
|
KISMET_CONF_ENV = LIBS="-lpcap $(shell $(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs)"
|
|
|
|
endif
|
|
|
|
|
2009-09-01 19:01:40 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_PCRE),y)
|
|
|
|
KISMET_DEPENDENCIES += pcre
|
|
|
|
endif
|
2007-10-30 10:16:51 +01:00
|
|
|
|
2009-09-01 19:01:40 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_KISMET_CLIENT),y)
|
|
|
|
KISMET_TARGET_BINARIES += kismet_client
|
|
|
|
endif
|
2007-10-31 13:46:52 +01:00
|
|
|
|
2009-09-01 19:01:40 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_KISMET_SERVER),y)
|
|
|
|
KISMET_TARGET_BINARIES += kismet_server
|
|
|
|
KISMET_TARGET_CONFIGS += kismet.conf
|
|
|
|
endif
|
2007-10-30 10:16:51 +01:00
|
|
|
|
2009-09-01 19:01:40 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_KISMET_DRONE),y)
|
|
|
|
KISMET_TARGET_BINARIES += kismet_drone
|
|
|
|
KISMET_TARGET_CONFIGS += kismet_drone.conf
|
|
|
|
endif
|
2007-10-30 10:16:51 +01:00
|
|
|
|
2010-08-29 19:38:04 +02:00
|
|
|
ifdef KISMET_TARGET_BINARIES
|
2010-09-01 23:22:39 +02:00
|
|
|
define KISMET_INSTALL_TARGET_BINARIES
|
2009-09-01 19:01:40 +02:00
|
|
|
$(INSTALL) -m 755 $(addprefix $(KISMET_DIR)/, $(KISMET_TARGET_BINARIES)) $(TARGET_DIR)/usr/bin
|
2010-09-01 23:22:39 +02:00
|
|
|
endef
|
2010-08-29 19:38:04 +02:00
|
|
|
endif
|
2010-09-01 23:22:39 +02:00
|
|
|
|
2010-01-19 20:13:55 +01:00
|
|
|
ifdef KISMET_TARGET_CONFIGS
|
2010-09-01 23:22:39 +02:00
|
|
|
define KISMET_INSTALL_TARGET_CONFIGS
|
2009-09-01 19:01:40 +02:00
|
|
|
$(INSTALL) -m 644 $(addprefix $(KISMET_DIR)/conf/, $(KISMET_TARGET_CONFIGS)) $(TARGET_DIR)/etc
|
2010-09-01 23:22:39 +02:00
|
|
|
endef
|
2007-10-30 10:16:51 +01:00
|
|
|
endif
|
2009-09-01 19:01:40 +02:00
|
|
|
|
2010-09-01 23:22:39 +02:00
|
|
|
define KISMET_INSTALL_TARGET_CMDS
|
|
|
|
$(KISMET_INSTALL_TARGET_BINARIES)
|
|
|
|
$(KISMET_INSTALL_TARGET_CONFIGS)
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|