I am attempting to build kismet for the Kamikaze release for an rb532. The instructions are a bit confusing, but I ended up with a Makefile in packages/kimset/ that looks like this:
---
include $(TOPDIR)/rules.mk
PKG_NAME:=kismet
PKG_VERSION:=2007-01-R1b
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/kismet-${PKG_VERSION)
PKG_SOURCE:=kismet-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.kismetwireless.net/code/
PKG_MD5SUM:=a1dcea71f0c3f881ef72f5bca2db7b39
PKG_CAT:=zcat
include $(INCLUDE_DIR)/package.mk
define Package/kismet
SECTION:=base
CATEGORY:=Network
DEFAULT:=y
TITLE:=Kismet
DESCRIPTION:=Kismet Description
URL:=http://www.kismetwireless.net
endef
define Build/Configure
$(call Build/Configure/Default,--with-pcap=linux --host=mipsel-linux --disable-viha --without-ethereal --pr
efix=/tmp --disable-pcre --disable-setuid)
endef
$(eval $(call BuildPackage,kismet))
---
But when I run a 'make V=99' to build the release, make fails with an error on the $eval line in the script:
Makefile:38: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.
The line is copied verbatim from the libpcap Makefile (obviously changing the name), so it's not a syntax issue. Is there something that I am missing in the Makefile that would cause it to behave like this? If I remove that line, the build finishes but I have no kismet package.