nuke $Id$ in /packages as well
[packages.git] / net / wavemon / Makefile
1
2 # Copyright (C) 2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=wavemon
11 PKG_VERSION:=0.4.0b
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.janmorgenstern.de/
16 PKG_MD5SUM:=2baab37eb967fc38dc53f8e4f609daac
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/wavemon
21   SECTION:=net
22   CATEGORY:=Network
23   TITLE:=N-curses based wireless network devices monitor
24   DEPENDS:= +libncurses
25   SUBMENU:=wireless
26   URL:=http://www.janmorgenstern.de/projects-software.html
27 endef
28
29 define Package/wavemon/description
30   wavemon is a ncurses-based monitoring application for wireless network 
31   devices. It currently works under Linux with devices that are supported 
32   by the wireless extensions by Jean Tourrilhes (included in Kernel 2.4 
33   and higher), e.g. the Lucent Orinoco cards. 
34 endef
35
36 define Build/Compile
37         $(MAKE) -C $(PKG_BUILD_DIR) \
38                 $(TARGET_CONFIGURE_OPTS) \
39                 CFLAGS="$(TARGET_CFLAGS) -L${STAGING_DIR}/usr/lib -I${STAGING_DIR}/usr/include" \
40                 DESTDIR="$(PKG_INSTALL_DIR)" \
41                 all
42 endef
43
44 define Package/wavemon/install
45         $(INSTALL_DIR) $(1)/usr/bin
46         $(CP) $(PKG_BUILD_DIR)/wavemon $(1)/usr/bin/
47 endef
48
49 $(eval $(call BuildPackage,wavemon))