view src/sm.mk @ 5503:1541641533a6

Keep size of "sunindextype" in sync with LAPACK (bug #58795). * src/sundials-ida.mk: Set size of sunindextype based on ENABLE_FORTRAN_INT64.
author Markus Meisinger <chloros2@gmx.de>
date Tue, 28 Jul 2020 17:10:46 +0200
parents de2eedecd6ba
children
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := sm
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 1.2.2
$(PKG)_CHECKSUM := e6d5dab6828dfd296e564518d2ed0a349a25a714
$(PKG)_SUBDIR   := libSM-$($(PKG)_VERSION)
$(PKG)_FILE     := libSM-$($(PKG)_VERSION).tar.bz2
$(PKG)_URL      := http://www.x.org/archive/individual/lib/$($(PKG)_FILE)
$(PKG)_DEPS     := ice xproto xtrans

define $(PKG)_UPDATE
    echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
    echo $($(PKG)_VERSION)
endef

ifeq ($(MXE_WINDOWS_BUILD),yes)
  define $(PKG)_BUILD
  endef
else
  define $(PKG)_BUILD
    mkdir '$(1)/.build'
    cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \
        $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
        $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
        --prefix='$(HOST_PREFIX)' \
        && $(CONFIGURE_POST_HOOK)

    $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
  endef
endif