Mercurial > mxe-octave
view src/libffi.mk @ 3961:808ff354717a
binary-dist-rules: fix paths of distributes .pc and .la files
* binary-dist-rules.mk: in cross mingw, remove (HOST_PREFIX) from any absolue path names in .pc and .la files
author | John D |
---|---|
date | Mon, 08 Jun 2015 22:03:11 -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