Changeset 17929


Ignore:
Timestamp:
2009-10-05T22:12:49+02:00 (7 years ago)
Author:
nico
Message:

[packages] patch: update to v2.5.9, cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/devel/patch/Makefile

    r16438 r17929  
    11# 
    2 # Copyright (C) 2008 OpenWrt.org 
     2# Copyright (C) 2008-2009 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=patch 
    11 PKG_VERSION:=2.5.4 
     11PKG_VERSION:=2.5.9 
    1212PKG_RELEASE:=1 
    13 PKG_MD5SUM:=ee5ae84d115f051d87fcaaef3b4ae782 
     13 
     14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1415PKG_SOURCE_URL:=@GNU/patch 
    15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     16PKG_MD5SUM:=dacfb618082f8d3a2194601193cf8716 
    1617 
    1718include $(INCLUDE_DIR)/package.mk 
     
    2526 
    2627define Package/patch/description 
    27   The Patch package contains a program for modifying or creating files by applying a "patch" file typically created by the diff program. 
    28 endef 
    29  
    30 define Build/Configure 
    31         $(call Build/Configure/Default) 
     28  The Patch package contains a program for modifying or creating files  
     29  by applying a "patch" file typically created by the diff program. 
    3230endef 
    3331 
    3432define Build/Compile 
    35         $(MAKE_VARS) $(MAKE) $(MAKE_ARGS) exec_prefix=$(PKG_INSTALL_DIR) -C $(PKG_BUILD_DIR) all install  
     33        $(MAKE) -C $(PKG_BUILD_DIR) \ 
     34                exec_prefix="$(PKG_INSTALL_DIR)" \ 
     35                all install  
    3636endef 
    3737 
    3838define Package/patch/install 
    3939        $(INSTALL_DIR) $(1)/usr/bin 
    40         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/patch $(1)/usr/bin/ 
     40        $(CP) $(PKG_INSTALL_DIR)/bin/patch $(1)/usr/bin/ 
    4141endef 
    4242 
Note: See TracChangeset for help on using the changeset viewer.