branch Attitude Adjustment packages
[12.09/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 CONFIGURE_VARS += \
39         ac_cv_lib_cap_cap_get_flag=no
40
41 MAKE_FLAGS += \
42         CFLAGS="$(TARGET_CFLAGS) -L$(STAGING_DIR)/usr/lib -I$(STAGING_DIR)/usr/include"
43
44 define Package/wavemon/install
45         $(INSTALL_DIR) $(1)/usr/bin
46         $(CP) $(PKG_INSTALL_DIR)/usr/bin/wavemon $(1)/usr/bin/
47 endef
48
49 $(eval $(call BuildPackage,wavemon))