1
0

Makefile 744 B

123456789101112131415161718192021222324252627282930313233
  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:expat
  10. PKG_VERSION:=2.5.0
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  12. PKG_HASH:=ef2420f0232c087801abf705e89ae65f6257df6b7931d37846a193ef2e8cdcbe
  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. --with-pic
  21. define Host/Uninstall
  22. -$(call Host/Compile/Default,uninstall)
  23. endef
  24. $(eval $(call HostBuild))