Remove executable bit from these Makefiles. Closes #728
[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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=raddump
12 PKG_VERSION:=0.3.1
13 PKG_RELEASE:=1
14 PKG_MD5SUM:=f8c29c67141ea78bb6ae8b97d5149480
15 PKG_SOURCE_URL:=@SF/raddump
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
18 PKG_CAT:=zcat
19
20 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/raddump
25 SECTION:=net
26 CATEGORY:=Network
27 DEPENDS:=+libpcap +libopenssl
28 TITLE:=raddump interprets captured RADIUS packets.
29 DESCRIPTION:=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 URL:=http://sourceforge.net/projects/raddump
34 endef
35
36 define Build/Configure
37 $(call Build/Configure/Default,,ac_cv_c_bigendian=no \
38 ac_cv_func_malloc_0_nonnull=yes \
39 ac_cv_func_realloc_0_nonnull=yes)
40 endef
41
42 define Build/Compile
43 $(MAKE) DESTDIR=$(PKG_INSTALL_DIR) -C $(PKG_BUILD_DIR) install
44 endef
45
46 define Package/raddump/install
47 mkdir -p $(1)
48 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
49 endef
50
51 $(eval $(call BuildPackage,raddump))