Makefile 766 B

12345678910111213141516171819202122232425262728293031323334
  1. #
  2. # Copyright (C) 2006-2014 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:=expat
  9. PKG_CPE_ID:=cpe:/a:libexpat:libexpat
  10. PKG_VERSION:=2.6.3
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_HASH:=17aa6cfc5c4c219c09287abfc10bc13f0c06f30bb654b28bfe6f567ca646eb79
  13. PKG_SOURCE_URL:=https://github.com/libexpat/libexpat/releases/download/R_$(subst .,_,$(PKG_VERSION))
  14. HOST_BUILD_PARALLEL:=1
  15. include $(INCLUDE_DIR)/host-build.mk
  16. HOSTCC := $(HOSTCC_NOCACHE)
  17. HOST_CONFIGURE_ARGS += \
  18. --disable-shared \
  19. --without-docbook \
  20. --without-tests \
  21. --with-pic
  22. define Host/Uninstall
  23. -$(call Host/Compile/Default,uninstall)
  24. endef
  25. $(eval $(call HostBuild))