2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_MD5SUM
:=ee5ae84d115f051d87fcaaef3b4ae782
14 PKG_SOURCE_URL
:=http
://ftp.gnu.org
/gnu
/patch
/
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
17 include $(INCLUDE_DIR
)/package.mk
23 URL
:=http
://www.gnu.org
/
26 define 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.
30 define Build
/Configure
31 $(call Build
/Configure
/Default
)
35 $(MAKE_VARS
) $(MAKE
) $(MAKE_ARGS
) exec_prefix=$(PKG_INSTALL_DIR
) -C
$(PKG_BUILD_DIR
) all install
38 define Package
/patch
/install
39 $(INSTALL_DIR
) $(1)/usr
/bin
40 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/bin
/patch
$(1)/usr
/bin
/
43 $(eval
$(call BuildPackage
,patch
))