kismet: fix dependency issues

git-svn-id: svn://svn.openwrt.org/openwrt/packages@32262 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2012-06-12 01:57:16 +00:00
parent 96e7b07685
commit e7b5bf25d0

View File

@ -15,7 +15,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.kismetwireless.net/code PKG_SOURCE_URL:=http://www.kismetwireless.net/code
PKG_MD5SUM:=85e59186eb529889118b5635f35cf57d PKG_MD5SUM:=85e59186eb529889118b5635f35cf57d
PKG_BUILD_DEPENDS:=libpcap libncurses uclibcxx libpcre libnl-tiny PKG_BUILD_DEPENDS:=libpcap libncurses uclibcxx libpcre
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -23,7 +23,7 @@ define Package/kismet/Default
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
TITLE:=Kismet TITLE:=Kismet
DEPENDS:= +uclibcxx +libnl-tiny DEPENDS:= +uclibcxx +libnl
URL:=http://www.kismetwireless.net/ URL:=http://www.kismetwireless.net/
SUBMENU:=wireless SUBMENU:=wireless
endef endef
@ -50,7 +50,7 @@ endef
define Package/kismet-drone define Package/kismet-drone
$(call Package/kismet/Default) $(call Package/kismet/Default)
DEPENDS+= +libpcap +libpcre DEPENDS+= +libpcap +libpcre +libcap
TITLE+= drone TITLE+= drone
endef endef
@ -65,7 +65,7 @@ endef
define Package/kismet-server define Package/kismet-server
$(call Package/kismet/Default) $(call Package/kismet/Default)
DEPENDS+= +libpcap +libpcre DEPENDS+= +libpcap +libpcre +libcap
TITLE+= server TITLE+= server
endef endef
@ -86,8 +86,7 @@ CONFIGURE_VARS += \
CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \ CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \
LDFLAGS="$$$$LDFLAGS" \ LDFLAGS="$$$$LDFLAGS" \
LIBS="-nodefaultlibs -lc -luClibc++ -lm $(LIBGCC_S)" \ LIBS="-nodefaultlibs -lc -luClibc++ -lm $(LIBGCC_S)" \
CLIENTCLIBS="-nodefaultlibs -lc -luClibc++ -lm $(LIBGCC_S)" \ CLIENTCLIBS="-nodefaultlibs -lc -luClibc++ -lm $(LIBGCC_S)"
libnl1_LIBS="-libnl-tiny"
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \