1
0

Makefile 628 B

1234567891011121314151617181920212223242526272829
  1. #
  2. # Copyright (C) 2013 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=patch
  9. PKG_VERSION:=2.7.6
  10. PKG_RELEASE:=7
  11. PKG_CPE_ID:=cpe:/a:gnu:patch
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  13. PKG_SOURCE_URL:=@GNU/patch
  14. PKG_HASH:=ac610bda97abe0d9f6b7c963255a11dcb196c25e337c61f94e4778d632f1d8fd
  15. HOST_BUILD_PARALLEL := 1
  16. include $(INCLUDE_DIR)/host-build.mk
  17. HOSTCC := $(HOSTCC_NOCACHE)
  18. HOSTCXX := $(HOSTCXX_NOCACHE)
  19. define Host/Uninstall
  20. -$(call Host/Compile/Default,uninstall)
  21. endef
  22. $(eval $(call HostBuild))