2013-03-07 17:32:29 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2013 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=patch
|
2018-02-12 07:40:59 +00:00
|
|
|
PKG_VERSION:=2.7.6
|
2022-11-09 04:17:00 +00:00
|
|
|
PKG_RELEASE:=7
|
2018-10-14 09:34:32 +00:00
|
|
|
PKG_CPE_ID:=cpe:/a:gnu:patch
|
2013-03-07 17:32:29 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2015-03-15 05:07:10 +00:00
|
|
|
PKG_SOURCE_URL:=@GNU/patch
|
2018-02-12 07:40:59 +00:00
|
|
|
PKG_HASH:=ac610bda97abe0d9f6b7c963255a11dcb196c25e337c61f94e4778d632f1d8fd
|
2013-03-07 17:32:29 +00:00
|
|
|
|
2015-09-26 21:10:37 +00:00
|
|
|
HOST_BUILD_PARALLEL := 1
|
|
|
|
|
2013-03-07 17:32:29 +00:00
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
2015-07-20 10:50:46 +00:00
|
|
|
HOSTCC := $(HOSTCC_NOCACHE)
|
|
|
|
HOSTCXX := $(HOSTCXX_NOCACHE)
|
|
|
|
|
2022-09-28 08:23:56 +00:00
|
|
|
define Host/Uninstall
|
|
|
|
-$(call Host/Compile/Default,uninstall)
|
|
|
|
endef
|
|
|
|
|
2013-03-07 17:32:29 +00:00
|
|
|
$(eval $(call HostBuild))
|