wavemon: Bump to v0.7.5
[packages.git] / net / wavemon / Makefile
1 #
2 # Copyright (C) 2008-2012 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.7.5
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://eden-feed.erg.abdn.ac.uk/wavemon/stable-releases
16 PKG_MD5SUM:=77d4a0f099ca98cf98a915adc70694ba
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/wavemon
23   SECTION:=net
24   CATEGORY:=Network
25   TITLE:=N-curses based wireless network devices monitor
26   DEPENDS:=+libncurses
27   SUBMENU:=wireless
28   URL:=http://eden-feed.erg.abdn.ac.uk/wavemon/
29 endef
30
31 define Package/wavemon/description
32   wavemon is a ncurses-based monitoring application for wireless network
33   devices. It currently works under Linux with devices that are supported
34   by the wireless extensions by Jean Tourrilhes (included in Kernel 2.4
35   and higher), e.g. the Lucent Orinoco cards.
36 endef
37
38 MAKE_FLAGS += \
39         CFLAGS="$(TARGET_CFLAGS) -L$(STAGING_DIR)/usr/lib -I$(STAGING_DIR)/usr/include"
40
41 define Package/wavemon/install
42         $(INSTALL_DIR) $(1)/usr/bin
43         $(CP) $(PKG_INSTALL_DIR)/usr/bin/wavemon $(1)/usr/bin/
44 endef
45
46 $(eval $(call BuildPackage,wavemon))