1
0

Makefile 652 B

12345678910111213141516171819202122232425262728
  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.0.1
  10. PKG_CPE_ID:=cpe:/a:mpfr:gnu_mpfr
  11. PKG_SOURCE_URL:=http://www.mpfr.org/mpfr-$(PKG_VERSION) \
  12. @GNU/mpfr
  13. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  14. PKG_HASH:=67874a60826303ee2fb6affc6dc0ddd3e749e9bfcb4c8655e3953d0458a6e16e
  15. HOST_BUILD_PARALLEL:=1
  16. HOST_FIXUP:=autoreconf
  17. include $(INCLUDE_DIR)/host-build.mk
  18. HOST_CONFIGURE_ARGS += \
  19. --enable-static \
  20. --disable-shared \
  21. --with-gmp=$(STAGING_DIR_HOST)
  22. $(eval $(call HostBuild))