#!/bin/bash # Build script for libffi set -e cd "$SRCDIR" ./configure \ --prefix=$PREFIX \ --disable-static gmake -j${JOBS:-1} gmake install DESTDIR="$PKGDIR" # libffi - Foreign Function Interface library # https://sourceware.org/libffi/ [package] name = "libffi" version = "3.4.7" release = 1 description = "Portable foreign function interface library" url = "https://sourceware.org/libffi/" license = "MIT" maintainer = "Chris Tusa " arch = "x86_64" [dependencies] runtime = [] build = [] [[source]] file = "libffi-3.4.7.tar.gz" urls = [ "https://github.com/libffi/libffi/releases/download/v3.4.7/libffi-3.4.7.tar.gz", "https://sourceware.org/pub/libffi/libffi-3.4.7.tar.gz" ] checksum = "138607dee268bdecf374adf9144c00e839e38541f75f24a1fcf18b78fda48b2d" [build] parallel = true