Mercurial > mxe-octave
view src/librsb.mk @ 4320:26e2e3ace9e6
handle unknown/unspecified AC_ARG options consistently
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 04 Jan 2017 21:29:05 -0500 |
parents | eac52a8a7822 |
children | ce6c155a45ba |
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-rc5 $(PKG)_CHECKSUM := 348360bdfc2df669fa532939f44343917038d923 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$($(PKG)_FILE) $(PKG)_DEPS := libgomp define $(PKG)_UPDATE $(WGET) -q -O- 'http://sourceforge.net/projects/librsb/files/librsb/' | \ $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && automake && ./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