17 lines
578 B
Python
17 lines
578 B
Python
version = "3.4.6"
|
|
revision = 1
|
|
description = "Portable foreign-function interface library"
|
|
license = "MIT"
|
|
url = "https://sourceware.org/libffi/"
|
|
source = tarball(
|
|
url=f"https://github.com/libffi/libffi/releases/download/v{version}/libffi-{version}.tar.gz",
|
|
sha256="b0dea9df23c863a7a50e825440f3ebffabd65df1497108e5d437747843895a4e",
|
|
)
|
|
host_deps = ["binutils", "gcc", "pkgconf"]
|
|
deps = [profile["libc"]]
|
|
|
|
configure, build, install = autotools(
|
|
# Install straight into ${libdir} rather than a gcc-triplet subdir.
|
|
configure_args=["--disable-multi-os-directory"],
|
|
)
|