2 # Copyright (C) 2006-2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 include $(INCLUDE_DIR)/package.mk
20 TITLE:=Wireless Network Visualization
21 URL:=http://devices.natetrue.com/wiviz/
25 mkdir -p $(PKG_BUILD_DIR)
26 $(CP) ./src/* $(PKG_BUILD_DIR)/
29 EXTRA_CFLAGS += $(TARGET_CPPFLAGS)
30 EXTRA_LDFLAGS += $(TARGET_LDFLAGS)
33 $(call Build/Compile/Default, \
34 CCOPTS="$(TARGET_CFLAGS)" \
35 INCLUDE="$(EXTRA_CFLAGS)" \
36 LDFLAGS="$(EXTRA_LDFLAGS)" \
40 define Package/wiviz/install
41 mkdir -p $(1)/usr/sbin
42 $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
44 find $(1) -name CVS | xargs rm -rf
45 find $(1) -name .svn | xargs rm -rf
48 $(eval $(call BuildPackage,wiviz))