2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
17 include $(INCLUDE_DIR
)/package.mk
23 TITLE
:=Wireless Network Visualization
24 URL
:=http
://devices.natetrue.com
/wiviz
/
28 mkdir
-p
$(PKG_BUILD_DIR
)
29 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
32 EXTRA_CFLAGS
+= -I
$(STAGING_DIR
)/usr
/include -I
$(STAGING_DIR
)/include
33 EXTRA_LDFLAGS
+= -L
$(STAGING_DIR
)/usr
/lib
36 $(call Build
/Compile
/Default
, \
37 CCOPTS
="$(TARGET_CFLAGS)" \
38 INCLUDE
="$(EXTRA_CFLAGS)" \
39 LDFLAGS
="$(EXTRA_LDFLAGS)" \
43 define Package
/wiviz
/install
44 mkdir
-p
$(1)/usr
/sbin
45 $(CP
) $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(1)/usr
/sbin
/
47 find
$(1) -name CVS | xargs
rm -rf
48 find
$(1) -name .svn | xargs
rm -rf
51 $(eval
$(call BuildPackage
,wiviz
))