1 ################################################################################
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_LIBCAP
),y
)
19 KISMET_DEPENDENCIES
+= libcap
22 ifeq ($(BR2_PACKAGE_PCRE
),y
)
23 KISMET_DEPENDENCIES
+= pcre
26 ifeq ($(BR2_PACKAGE_KISMET_CLIENT
),y
)
27 KISMET_TARGET_BINARIES
+= kismet_client
30 ifeq ($(BR2_PACKAGE_KISMET_SERVER
),y
)
31 KISMET_TARGET_BINARIES
+= kismet_server
32 KISMET_TARGET_CONFIGS
+= kismet.conf
35 ifeq ($(BR2_PACKAGE_KISMET_DRONE
),y
)
36 KISMET_TARGET_BINARIES
+= kismet_drone
37 KISMET_TARGET_CONFIGS
+= kismet_drone.conf
40 ifdef KISMET_TARGET_BINARIES
41 define KISMET_INSTALL_TARGET_BINARIES
42 $(INSTALL
) -m
755 $(addprefix $(KISMET_DIR
)/, $(KISMET_TARGET_BINARIES
)) $(TARGET_DIR
)/usr
/bin
46 ifdef KISMET_TARGET_CONFIGS
47 define KISMET_INSTALL_TARGET_CONFIGS
48 $(INSTALL
) -m
644 $(addprefix $(KISMET_DIR
)/conf
/, $(KISMET_TARGET_CONFIGS
)) $(TARGET_DIR
)/etc
52 define KISMET_INSTALL_TARGET_CMDS
53 $(KISMET_INSTALL_TARGET_BINARIES
)
54 $(KISMET_INSTALL_TARGET_CONFIGS
)
57 $(eval
$(autotools-package
))