Mercurial > mxe-octave
view src/libffi.mk @ 3829:2a48f5ac37e1
dist-files.mk: include mingw-osmesa-1-fixes.patch in the list
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 04 Mar 2015 09:32:38 -0500 |
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