30 lines
626 B
Makefile
30 lines
626 B
Makefile
#
|
|
# 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
|
|
PKG_VERSION:=2.8
|
|
PKG_RELEASE:=1
|
|
PKG_CPE_ID:=cpe:/a:gnu:patch
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=@GNU/patch
|
|
PKG_HASH:=308a4983ff324521b9b21310bfc2398ca861798f02307c79eb99bb0e0d2bf980
|
|
|
|
HOST_BUILD_PARALLEL := 1
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
HOSTCC := $(HOSTCC_NOCACHE)
|
|
HOSTCXX := $(HOSTCXX_NOCACHE)
|
|
|
|
define Host/Uninstall
|
|
-$(call Host/Compile/Default,uninstall)
|
|
endef
|
|
|
|
$(eval $(call HostBuild))
|