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.gz
  13. PKG_SOURCE_URL:=@GNU/patch
  14. PKG_HASH:=8cf86e00ad3aaa6d26aca30640e86b0e3e1f395ed99f189b06d4c9f74bc58a4e
  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))