Makefile 643 B

123456789101112131415161718192021222324252627282930
  1. #
  2. # Copyright (C) 2009 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.0.0
  10. PKG_SOURCE_URL:=http://www.mpfr.org/mpfr-$(PKG_VERSION)
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  12. PKG_MD5SUM:=f45bac3584922c8004a10060ab1a8f9f
  13. HOST_FIXUP:=autoreconf
  14. include $(INCLUDE_DIR)/host-build.mk
  15. HOST_CONFIGURE_ARGS += \
  16. --enable-static \
  17. --disable-shared \
  18. --with-gmp=$(STAGING_DIR_HOST)
  19. define Host/Configure
  20. echo "PATH=$(shell echo $$PATH)"
  21. $(call Host/Configure/Default)
  22. endef
  23. $(eval $(call HostBuild))