From 8e3d1217780a32b0a1abd678bb7e7d6c8cb38c9b Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Mon, 5 Oct 2009 20:12:49 +0000 Subject: [PATCH] [packages] patch: update to v2.5.9, cleanup SVN-Revision: 17929 --- devel/patch/Makefile | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/devel/patch/Makefile b/devel/patch/Makefile index 58f60f505a..fa3f14a284 100644 --- a/devel/patch/Makefile +++ b/devel/patch/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2008 OpenWrt.org +# Copyright (C) 2008-2009 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,11 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=patch -PKG_VERSION:=2.5.4 +PKG_VERSION:=2.5.9 PKG_RELEASE:=1 -PKG_MD5SUM:=ee5ae84d115f051d87fcaaef3b4ae782 -PKG_SOURCE_URL:=@GNU/patch + PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=@GNU/patch +PKG_MD5SUM:=dacfb618082f8d3a2194601193cf8716 include $(INCLUDE_DIR)/package.mk @@ -24,20 +25,19 @@ define Package/patch endef define Package/patch/description - The Patch package contains a program for modifying or creating files by applying a "patch" file typically created by the diff program. -endef - -define Build/Configure - $(call Build/Configure/Default) + The Patch package contains a program for modifying or creating files + by applying a "patch" file typically created by the diff program. endef define Build/Compile - $(MAKE_VARS) $(MAKE) $(MAKE_ARGS) exec_prefix=$(PKG_INSTALL_DIR) -C $(PKG_BUILD_DIR) all install + $(MAKE) -C $(PKG_BUILD_DIR) \ + exec_prefix="$(PKG_INSTALL_DIR)" \ + all install endef define Package/patch/install $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/patch $(1)/usr/bin/ + $(CP) $(PKG_INSTALL_DIR)/bin/patch $(1)/usr/bin/ endef $(eval $(call BuildPackage,patch)) -- 2.30.2