wget -c ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz
tar -xzf libffi-3.2.1.tar.gz
cd libffi-3.2.1
mkdir -p build
cd build
../configure --prefix="/usr"
make # Doesn't mind -j#
make install