[packages] Use default templates instead of custom reimplementations where applicable
[packages.git] / net / raddump / 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:=raddump
11 PKG_VERSION:=0.3.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/raddump
16 PKG_MD5SUM:=f8c29c67141ea78bb6ae8b97d5149480
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/raddump
23   SECTION:=net
24   CATEGORY:=Network
25   DEPENDS:=+libpcap +libopenssl
26   TITLE:=raddump interprets captured RADIUS packets.
27   URL:=http://sourceforge.net/projects/raddump
28 endef
29
30 define Package/raddump/description
31         raddump interprets captured RADIUS packets to print a 
32         timestamp, packet length, RADIUS packet type, source and 
33         destination hosts and ports, and included attribute names and 
34         values for each packet.
35 endef
36
37 # uses GNU configure
38
39 define Package/raddump/install
40         $(INSTALL_DIR) $(1)/usr/bin
41         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/raddump $(1)/usr/bin/
42 endef
43
44 $(eval $(call BuildPackage,raddump))