Commit e593e38e authored by Felix Paul Kühne's avatar Felix Paul Kühne

contrib: added target for libffi since it is required to compile glib, which...

contrib: added target for libffi since it is required to compile glib, which in turn is needed for Fluidsynth on Darwin (refs #10014)
parent e7377ebc
fc47f5d25197c631754efe05a349edb556d072807ecef19b41f17c1a8f39c95221be64926fbd05b1f8439181df1ddff8fc01462ce3a26005b75159ddc27e6f6a libffi-3.0.13.tar.gz
# FFI
FFI_VERSION := 3.0.13
FFI_URL := ftp://sourceware.org/pub/libffi/libffi-$(FFI_VERSION).tar.gz
ifdef HAVE_DARWIN_OS
PKGS += ffi
endif
ifeq ($(call need_pkg,"libffi"),)
PKGS_FOUND += ffi
endif
$(TARBALLS)/libffi-$(FFI_VERSION).tar.gz:
$(call download,$(FFI_URL))
.sum-ffi: libffi-$(FFI_VERSION).tar.gz
ffi: libffi-$(FFI_VERSION).tar.gz .sum-ffi
$(UNPACK)
$(MOVE)
.ffi: ffi
$(RECONF)
cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
cd $< && $(MAKE) install
touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment