fix weechat rebuild depends
[openwrt/svn-archive/archive.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 include $(INCLUDE_DIR)/package.mk
19
20 define Package/raddump
21 SECTION:=net
22 CATEGORY:=Network
23 DEPENDS:=+libpcap +libopenssl
24 TITLE:=raddump interprets captured RADIUS packets.
25 URL:=http://sourceforge.net/projects/raddump
26 endef
27
28 define Package/raddump/description
29 raddump interprets captured RADIUS packets to print a
30 timestamp, packet length, RADIUS packet type, source and
31 destination hosts and ports, and included attribute names and
32 values for each packet.
33 endef
34
35 # uses GNU configure
36
37 define Build/Compile
38 $(MAKE) -C $(PKG_BUILD_DIR) \
39 DESTDIR="$(PKG_INSTALL_DIR)" \
40 all install
41 endef
42
43 define Package/raddump/install
44 $(INSTALL_DIR) $(1)/usr/bin
45 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/raddump $(1)/usr/bin/
46 endef
47
48 $(eval $(call BuildPackage,raddump))