Mercurial > mxe-octave
view src/build-scons.mk @ 5504:9f9ed6a325bd
Build SUNDIALS IDA for Linux with KLU (bug #58795).
* src/suitesparse.mk: Create symlinks to libraries without version suffix.
* src/sundials-ida.mk: Unify build rules for all other platforms.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 31 Jul 2020 14:59:35 +0200 |
parents | 54ef2bc252bf |
children | 44be3d301611 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := build-scons $(PKG)_IGNORE := $(PKG)_VERSION := 3.1.2 $(PKG)_CHECKSUM := d7541717d503266b37004a33246b6688fe87dec0 $(PKG)_SUBDIR := scons-$($(PKG)_VERSION) $(PKG)_FILE := scons-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://prdownloads.sourceforge.net/scons/$($(PKG)_FILE) ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) $(PKG)_DEPS := else $(PKG)_DEPS := build-python endif define $(PKG)_UPDATE $(WGET) -q -O- https://sourceforge.net/projects/scons/files/scons/ | \ $(SED) -n 's|.*<tr title=\"\([0-9][^"]*\)".*|\1|p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && python setup.py install --prefix='$(BUILD_TOOLS_PREFIX)' endef