1
0

Makefile 619 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.5
  10. PKG_SOURCE_URL:=http://www.mpfr.org/mpfr-$(PKG_VERSION) \
  11. @GNU/mpfr
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  13. PKG_HASH:=015fde82b3979fbe5f83501986d328331ba8ddf008c1ff3da3c238f49ca062bc
  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))