2 # Copyright (C) 2008-2009 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
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@GNU
/patch
16 PKG_MD5SUM
:=dacfb618082f8d3a2194601193cf8716
18 include $(INCLUDE_DIR
)/package.mk
24 URL
:=http
://www.gnu.org
/
27 define Package
/patch
/description
28 The Patch package contains a program for modifying or creating files
29 by applying a
"patch" file typically created by the diff program.
33 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
34 exec_prefix="$(PKG_INSTALL_DIR)" \
38 define Package
/patch
/install
39 $(INSTALL_DIR
) $(1)/usr
/bin
40 $(CP
) $(PKG_INSTALL_DIR
)/bin
/patch
$(1)/usr
/bin
/
43 $(eval
$(call BuildPackage
,patch
))