2006-08-26 07:29:39 +00:00
|
|
|
#
|
2009-04-29 12:56:17 +00:00
|
|
|
# Copyright (C) 2006-2009 OpenWrt.org
|
2006-08-26 07:29:39 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=wiviz
|
|
|
|
PKG_VERSION:=1.0
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/wiviz
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2011-03-12 08:24:46 +00:00
|
|
|
SUMENU:=wireless
|
2006-08-26 07:29:39 +00:00
|
|
|
DEPENDS:=+libpcap
|
|
|
|
TITLE:=Wireless Network Visualization
|
2007-02-23 06:26:13 +00:00
|
|
|
URL:=http://devices.natetrue.com/wiviz/
|
2006-08-26 07:29:39 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Prepare
|
|
|
|
mkdir -p $(PKG_BUILD_DIR)
|
|
|
|
$(CP) ./src/* $(PKG_BUILD_DIR)/
|
|
|
|
endef
|
|
|
|
|
2009-04-29 12:56:17 +00:00
|
|
|
EXTRA_CFLAGS += $(TARGET_CPPFLAGS)
|
|
|
|
EXTRA_LDFLAGS += $(TARGET_LDFLAGS)
|
2007-09-05 17:36:21 +00:00
|
|
|
|
2006-08-26 07:29:39 +00:00
|
|
|
define Build/Compile
|
2006-10-03 17:30:43 +00:00
|
|
|
$(call Build/Compile/Default, \
|
2007-02-01 23:48:59 +00:00
|
|
|
CCOPTS="$(TARGET_CFLAGS)" \
|
2007-09-05 17:36:21 +00:00
|
|
|
INCLUDE="$(EXTRA_CFLAGS)" \
|
2007-01-22 01:30:47 +00:00
|
|
|
LDFLAGS="$(EXTRA_LDFLAGS)" \
|
2006-10-03 17:30:43 +00:00
|
|
|
)
|
2006-08-26 07:29:39 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/wiviz/install
|
2009-12-18 11:06:19 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2006-08-26 07:29:39 +00:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
|
|
|
|
$(CP) ./files/* $(1)
|
|
|
|
find $(1) -name CVS | xargs rm -rf
|
|
|
|
find $(1) -name .svn | xargs rm -rf
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,wiviz))
|