Add more license tags with SPDX identifiers
[openwrt.git] / package / network / utils / iftop / Makefile
1 #
2 # Copyright (C) 2006 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:=iftop
11 PKG_VERSION:=1.0pre2
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.ex-parrot.com/~pdw/iftop/download
16 PKG_MD5SUM:=fef521a49ec0122458d02c64212af3c5
17
18 PKG_MAINTAINER:=Jo-Philipp Wich <jow@openwrt.org>
19 PKG_LICENSE:=GPL-2.0
20
21 PKG_LICENSE:=GPL-2.0+
22 PKG_LICENSE_FILES:=COPYING
23
24 include $(INCLUDE_DIR)/package.mk
25
26 define Package/iftop
27   SECTION:=net
28   CATEGORY:=Network
29   DEPENDS:=+libpcap +libncurses +libpthread
30   TITLE:=display bandwith usage on an interface
31   URL:=http://www.ex-parrot.com/~pdw/iftop/
32 endef
33
34 define Package/iftop/description
35         iftop does for network usage what top(1) does for CPU usage. It 
36         listens to network traffic on a named interface and displays a 
37         table of current bandwidth usage by pairs of hosts. Handy for 
38         answering the question 'why is our ADSL link so slow?'.
39 endef
40
41 define Package/iftop/install    
42         $(INSTALL_DIR) $(1)/usr/bin
43         $(INSTALL_BIN) $(PKG_BUILD_DIR)/iftop $(1)/usr/bin/
44 endef
45
46 $(eval $(call BuildPackage,iftop))