massive Makefile cleanup, add missing 'svn:keywords' property

git-svn-id: svn://svn.openwrt.org/openwrt/packages@5348 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico
2006-10-30 13:51:50 +00:00
parent d6c03f5259
commit 5cb332fb35
139 changed files with 1341 additions and 1322 deletions

View File

@ -11,12 +11,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=raddump
PKG_VERSION:=0.3.1
PKG_RELEASE:=1
PKG_MD5SUM:=f8c29c67141ea78bb6ae8b97d5149480
PKG_SOURCE_URL:=@SF/raddump
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=@SF/raddump
PKG_MD5SUM:=f8c29c67141ea78bb6ae8b97d5149480
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
@ -26,24 +27,25 @@ define Package/raddump
CATEGORY:=Network
DEPENDS:=+libpcap +libopenssl
TITLE:=raddump interprets captured RADIUS packets.
DESCRIPTION:=raddump interprets captured RADIUS packets to print a\\\
timestamp, packet length, RADIUS packet type, source and\\\
destination hosts and ports, and included attribute names and\\\
values for each packet.\\\
DESCRIPTION:=\
raddump interprets captured RADIUS packets to print a \\\
timestamp, packet length, RADIUS packet type, source and \\\
destination hosts and ports, and included attribute names and \\\
values for each packet.
URL:=http://sourceforge.net/projects/raddump
endef
define Build/Configure
$(call Build/Configure/Default)
endef
# uses GNU configure
define Build/Compile
$(MAKE) DESTDIR=$(PKG_INSTALL_DIR) -C $(PKG_BUILD_DIR) install
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
define Package/raddump/install
mkdir -p $(1)
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
install -d -m0755 $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/raddump $(1)/usr/bin/
endef
$(eval $(call BuildPackage,raddump))