Makefile 590 B

123456789101112131415161718192021222324252627
  1. #
  2. # Copyright (C) 2009-2016 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:=mpfr
  9. PKG_VERSION:=3.1.4
  10. PKG_SOURCE_URL:=http://www.mpfr.org/mpfr-$(PKG_VERSION) \
  11. @GNU/mpfr
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  13. PKG_MD5SUM:=b8a2f6b0e68bef46e53da2ac439e1cf4
  14. HOST_BUILD_PARALLEL:=1
  15. HOST_FIXUP:=autoreconf
  16. include $(INCLUDE_DIR)/host-build.mk
  17. HOST_CONFIGURE_ARGS += \
  18. --enable-static \
  19. --disable-shared \
  20. --with-gmp=$(STAGING_DIR_HOST)
  21. $(eval $(call HostBuild))