1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = System/Libraries
11 url = https://sourceware.org/libffi
13 summary = A portable foreign function interface library.
16 The libffi library provides a portable, high level programming
17 interface to various calling conventions. This allows a programmer to
18 call any function specified by a call interface description at run time.
21 source_dl = https://github.com/libffi/libffi/releases/download/v%{version}/
25 # Fix include directories.
26 #ised -e '/^includesdir/ s/$(libdir).*$/$(includedir)/' \
27 # -i include/Makefile.in
29 #sed -e '/^includedir/ s/=.*$/=@includedir@/' \
30 # -e 's/^Cflags: -I${includedir}/Cflags:/' \
41 files += %{libdir}/libffi-%{version}
44 package %{name}-debuginfo