name: libffi
version: 3.2.1
release: 1
sources: ftp://sourceware.org/pub/libffi/libffi-%{version}.tar.gz
@install
set -e;
cd libffi-%{version};
make DESTDIR="%{pkg}" install
cd "%{pkg}";
mv usr/lib/libffi-%{version}/include usr;
nuke usr/lib/libffi-%{version}