Mercurial > mxe-octave
view src/librsb.mk @ 6530:8ea9085d1f80
of-control: Fix compatibility with Octave 9.
* src/of-control-2-octave-9-compat.patch: Add patch that replaces functions and
classes that have been deprecated in Octave 7 and removed from Octave 9.
* dist-files.mk: Add new file to list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 17 Nov 2022 10:40:12 +0100 |
parents | 86edd6018826 |
children | 03860a88b499 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := librsb $(PKG)_IGNORE := $(PKG)_VERSION := 1.3.0.1 $(PKG)_CHECKSUM := c5781cfdd137a6d442318f9f5e7b9fd18c46d8c2 $(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 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 \ --without-librsbpp $(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