Mercurial > mxe-octave
view src/librsb.mk @ 5598:9722214b6722
LLVM: Update to version 8.0.1.
* src/llvm.mk: Update version and checksum. Remove unused variable.
* src/llvm-2-demangle.patch: Add new patch that adds missing headers.
* dist-files.mk: Include new file in list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 11 Dec 2020 20:46:31 +0100 |
parents | 2734b3818171 |
children | 2db7f803d55d |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := librsb $(PKG)_IGNORE := $(PKG)_VERSION := 1.2.0.9 $(PKG)_CHECKSUM := b35201470e6691d55c32e941969cd890c1076520 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$($(PKG)_FILE) $(PKG)_DEPS := ifeq ($(USE_SYSTEM_GCC),no) $(PKG)_DEPS += libgomp endif define $(PKG)_UPDATE $(WGET) -q -O- 'https://sourceforge.net/projects/librsb/files/' | \ $(SED) -n 's|.*librsb-\([0-9\.]*[-rc0-9]*\)\.tar.gz\/download.*|\1|p' | \ head -1 endef define $(PKG)_BUILD # This is a work-around for a bug in version 1.2.0.9. # Remove the following command once this is fixed upstream. $(SED) -i 's/.A.=.rsb__real.*\([,;]\)/1\1/g' $(1)/rsb_eps.c cd '$(1)' && autoreconf -fi && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ --prefix='$(HOST_PREFIX)' \ $(ENABLE_SHARED_OR_STATIC) \ $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ --disable-c-examples --disable-fortran-examples \ --disable-sparse-blas-interface \ --disable-octave-testing $(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)' if [ $(MXE_NATIVE_BUILD) = no ]; then \ $(INSTALL) -d '$(3)$(BUILD_TOOLS_PREFIX)/bin'; \ $(INSTALL) -m755 '$(3)$(HOST_BINDIR)/librsb-config' '$(3)$(BUILD_TOOLS_PREFIX)/bin/librsb-config'; \ fi if [ "$(ENABLE_DEP_DOCS)" == "no" ]; then \ rm -rf "$(3)$(HOST_PREFIX)/share/doc/$(PKG)"; \ fi endef