Makefile 665 B

12345678910111213141516171819202122232425262728293031
  1. #
  2. # Copyright (C) 2009-2013 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:=isl
  9. PKG_VERSION:=0.26
  10. PKG_SOURCE_URL:=https://libisl.sourceforge.io/
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  12. PKG_HASH:=a0b5cb06d24f9fa9e77b55fabbe9a3c94a336190345c2555f9915bb38e976504
  13. HOST_BUILD_PARALLEL:=1
  14. include $(INCLUDE_DIR)/host-build.mk
  15. unexport CFLAGS
  16. HOST_CONFIGURE_ARGS += \
  17. --enable-static \
  18. --disable-shared \
  19. --with-gmp-prefix=$(STAGING_DIR_HOST)
  20. define Host/Uninstall
  21. -$(call Host/Compile/Default,uninstall)
  22. endef
  23. $(eval $(call HostBuild))