2 # Copyright (C) 2008-2015 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.xz
15 PKG_SOURCE_URL
:=@GNU
/patch
16 PKG_MD5SUM
:=e3da7940431633fb65a01b91d3b7a27a
18 PKG_LICENSE_FILES
:=COPYING
20 include $(INCLUDE_DIR
)/package.mk
26 URL
:=http
://www.gnu.org
/
27 MAINTAINER
:=Russell Senior
<russell@personaltelco.net
>
30 define Package
/patch
/description
31 The Patch package contains a program for modifying or creating files
32 by applying a
"patch" file typically created by the diff program.
35 CONFIGURE_ARGS
+= --disable-xattr
38 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
39 DESTDIR
="$(PKG_INSTALL_DIR)" \
43 define Package
/patch
/install
44 $(INSTALL_DIR
) $(1)/usr
/bin
45 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/patch
$(1)/usr
/bin
/
48 $(eval
$(call BuildPackage
,patch
))