packages/net/wiviz/Makefile
nico faa1842465 cleanup Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-03 17:30:43 +00:00

49 lines
982 B
Makefile

#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=wiviz
PKG_VERSION:=1.0
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/wiviz
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libpcap
TITLE:=Wireless Network Visualization
URL:=http://students.washington.edu/natetrue/wiviz/
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
$(CP) ./src/* $(PKG_BUILD_DIR)/
endef
define Build/Compile
$(call Build/Compile/Default, \
CCOPTS="\$$$$(EXTRA_CFLAGS)" \
INCLUDE="" \
LDFLAGS="\$$$$(EXTRA_LDFLAGS)" \
)
endef
define Package/wiviz/install
mkdir -p $(1)/usr/sbin
$(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))