Makefile 796 B

1234567891011121314151617181920212223242526272829303132333435
  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.7.1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_HASH:=0cce2e6e69b327fc607b8ff264f4b66bdf71ead55a87ffd5f3143f535f15cfa2
  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. HOSTCXX := $(HOSTCXX_NOCACHE)
  18. HOST_CONFIGURE_ARGS += \
  19. --disable-shared \
  20. --without-docbook \
  21. --without-tests \
  22. --with-pic
  23. define Host/Uninstall
  24. -$(call Host/Compile/Default,uninstall)
  25. endef
  26. $(eval $(call HostBuild))