1
0

Makefile 742 B

1234567891011121314151617181920212223242526272829303132
  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:=4.2.0
  10. PKG_CPE_ID:=cpe:/a:mpfr:gnu_mpfr
  11. PKG_SOURCE_URL:=@GNU/mpfr http://www.mpfr.org/mpfr-$(PKG_VERSION)
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  13. PKG_HASH:=06a378df13501248c1b2db5aa977a2c8126ae849a9d9b7be2546fb4a9c26d993
  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. --enable-thread-safe \
  21. --with-gmp=$(STAGING_DIR_HOST)
  22. define Host/Uninstall
  23. -$(call Host/Compile/Default,uninstall)
  24. endef
  25. $(eval $(call HostBuild))