Mercurial > mxe-octave
view src/libffi.mk @ 4240:724749afb8b5
Makefile.in: check if have version of octave and warn if cant find it (Bug #49503)
* Makefile.in: in check-requirements, verify and warn if do not have correct octave
author | John D |
---|---|
date | Thu, 03 Nov 2016 04:08:08 -0400 |
parents | d95b8b84cea7 |
children | c85991d2fed4 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := libffi $(PKG)_IGNORE := $(PKG)_VERSION := 3.1 $(PKG)_CHECKSUM := cb373ef2115ec7c57913b84ca72eee14b10ccdc3 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_URL := ftp://sourceware.org/pub/$(PKG)/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE $(WGET) -q -O- 'https://github.com/atgreen/libffi/tags' | \ grep '<a href="/atgreen/libffi/archive/' | \ $(SED) -n 's,.*href="/atgreen/libffi/archive/v\([0-9][^"]*\)\.tar.*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ --prefix='$(HOST_PREFIX)' \ $(ENABLE_SHARED_OR_STATIC) \ && $(CONFIGURE_POST_HOOK) $(MAKE) -C '$(1)/$(TARGET)' -j '$(JOBS)' $(MAKE) -C '$(1)/$(TARGET)' -j 1 install DESTDIR='$(3)' endef