[vlc-devel] [PATCH 2/4] contrib: added target for libffi since it is required to compile glib, which in turn is needed for Fluidsynth on Darwin (refs #10014)
Felix Paul Kühne
fkuehne at videolan.org
Fri Nov 29 18:46:58 CET 2013
---
contrib/src/ffi/SHA512SUMS | 1 +
contrib/src/ffi/rules.mak | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+)
create mode 100644 contrib/src/ffi/SHA512SUMS
create mode 100644 contrib/src/ffi/rules.mak
diff --git a/contrib/src/ffi/SHA512SUMS b/contrib/src/ffi/SHA512SUMS
new file mode 100644
index 0000000..107823e
--- /dev/null
+++ b/contrib/src/ffi/SHA512SUMS
@@ -0,0 +1 @@
+fc47f5d25197c631754efe05a349edb556d072807ecef19b41f17c1a8f39c95221be64926fbd05b1f8439181df1ddff8fc01462ce3a26005b75159ddc27e6f6a libffi-3.0.13.tar.gz
diff --git a/contrib/src/ffi/rules.mak b/contrib/src/ffi/rules.mak
new file mode 100644
index 0000000..f5172be
--- /dev/null
+++ b/contrib/src/ffi/rules.mak
@@ -0,0 +1,20 @@
+# FFI
+FFI_VERSION := 3.0.13
+FFI_URL := ftp://sourceware.org/pub/libffi/libffi-$(FFI_VERSION).tar.gz
+
+PKGS += ffi
+
+$(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 $@
--
1.8.3.4 (Apple Git-47)
More information about the vlc-devel
mailing list