package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / kismet / kismet.mk
blob64a0ab27699db7c12e334fda7fd36adf088f134c
1 ################################################################################
3 # kismet
5 ################################################################################
7 KISMET_VERSION = Kismet-2014-02-R1
8 KISMET_SITE = http://www.kismetwireless.net/kismet.git
9 KISMET_SITE_METHOD = git
10 KISMET_DEPENDENCIES = host-pkgconf libpcap ncurses libnl
11 KISMET_CONF_OPTS += --with-netlink-version=3
12 KISMET_LICENSE = GPLv2+
13 KISMET_LICENSE_FILES = debian/copyright
15 # We touch configure.in:
16 KISMET_AUTORECONF = YES
18 ifeq ($(BR2_PACKAGE_PCRE),y)
19 KISMET_DEPENDENCIES += pcre
20 endif
22 ifeq ($(BR2_PACKAGE_KISMET_CLIENT),y)
23 KISMET_TARGET_BINARIES += kismet_client
24 endif
26 ifeq ($(BR2_PACKAGE_KISMET_SERVER),y)
27 KISMET_TARGET_BINARIES += kismet_server
28 KISMET_TARGET_CONFIGS += kismet.conf
29 endif
31 ifeq ($(BR2_PACKAGE_KISMET_DRONE),y)
32 KISMET_TARGET_BINARIES += kismet_drone
33 KISMET_TARGET_CONFIGS += kismet_drone.conf
34 endif
36 ifdef KISMET_TARGET_BINARIES
37 define KISMET_INSTALL_TARGET_BINARIES
38 $(INSTALL) -m 755 $(addprefix $(KISMET_DIR)/, $(KISMET_TARGET_BINARIES)) $(TARGET_DIR)/usr/bin
39 endef
40 endif
42 ifdef KISMET_TARGET_CONFIGS
43 define KISMET_INSTALL_TARGET_CONFIGS
44 $(INSTALL) -m 644 $(addprefix $(KISMET_DIR)/conf/, $(KISMET_TARGET_CONFIGS)) $(TARGET_DIR)/etc
45 endef
46 endif
48 define KISMET_INSTALL_TARGET_CMDS
49 $(KISMET_INSTALL_TARGET_BINARIES)
50 $(KISMET_INSTALL_TARGET_CONFIGS)
51 endef
53 $(eval $(autotools-package))