Mercurial > mxe-octave
view src/isl.mk @ 4658:213da5688be0
update binary dist rules
* binary-dist-rules.mk: Use -w64, -w32, or -w64-64 suffix for Windows
binary distributions. New target for creating .7z files.
* tools/makeinst-script.sh.in: New arg for name of installer file.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 12 Apr 2018 12:09:22 -0400 |
parents | b7d6a53fa46c |
children | 03a5acedac33 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := isl $(PKG)_IGNORE := $(PKG)_VERSION := 0.16.1 $(PKG)_CHECKSUM := c5a2b201bf05229647e73203c0bf2d9679d4d21f $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := ftp://gcc.gnu.org/pub/gcc/infrastructure/$($(PKG)_FILE) $(PKG)_DEPS := build-gcc gmp $(PKG)_EXTRA_MAKE_FLAGS := LDFLAGS='-no-undefined' # stick to tested versions from gcc define $(PKG)_UPDATE $(WGET) -q -O- 'ftp://gcc.gnu.org/pub/gcc/infrastructure/' | \ $(SED) -n 's,.*isl-\([0-9][^>]*\)\.tar.*,\1,p' | \ $(SORT) -V | tail -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(HOST_PREFIX)' \ --with-gmp-prefix='$(HOST_PREFIX)' $(MAKE) -C '$(1)' -j '$(JOBS)' $($(PKG)_EXTRA_MAKE_FLAGS) $(MAKE) -C '$(1)' -j '$(JOBS)' $($(PKG)_EXTRA_MAKE_FLAGS) install endef