Added current version 3.2 of libffi version 3.1 has a bug that interferes with glib

This commit is contained in:
Mario Melara 2015-10-01 21:51:55 -07:00
parent 13eb461ec3
commit 75d30b08fb

View File

@ -6,11 +6,12 @@ class Libffi(Package):
to call any function specified by a call interface description at to call any function specified by a call interface description at
run time.""" run time."""
homepage = "https://sourceware.org/libffi/" homepage = "https://sourceware.org/libffi/"
url = "ftp://sourceware.org/pub/libffi/libffi-3.1.tar.gz"
version('3.1', 'f5898b29bbfd70502831a212d9249d10') version('3.2.1','83b89587607e3eb65c70d361f13bab43',url = "ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz")
#version('3.1', 'f5898b29bbfd70502831a212d9249d10',url = "ftp://sourceware.org/pub/libffi/libffi-3.1.tar.gz") # Has a bug $(lib64) instead of ${lib64} in libffi.pc
def install(self, spec, prefix): def install(self, spec, prefix):
configure("--prefix=%s" % prefix) configure("--prefix=%s" % prefix)
make() make()
make("install") make("install")