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_PCRE
),y
)
19 KISMET_DEPENDENCIES
+= pcre
22 ifeq ($(BR2_PACKAGE_KISMET_CLIENT
),y
)
23 KISMET_TARGET_BINARIES
+= kismet_client
26 ifeq ($(BR2_PACKAGE_KISMET_SERVER
),y
)
27 KISMET_TARGET_BINARIES
+= kismet_server
28 KISMET_TARGET_CONFIGS
+= kismet.conf
31 ifeq ($(BR2_PACKAGE_KISMET_DRONE
),y
)
32 KISMET_TARGET_BINARIES
+= kismet_drone
33 KISMET_TARGET_CONFIGS
+= kismet_drone.conf
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
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
48 define KISMET_INSTALL_TARGET_CMDS
49 $(KISMET_INSTALL_TARGET_BINARIES
)
50 $(KISMET_INSTALL_TARGET_CONFIGS
)
53 $(eval
$(autotools-package
))