]>
Commit | Line | Data |
---|---|---|
be24b165 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
be24b165 MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = libffi |
effb3ebd | 7 | version = 3.4.4 |
fb0b5f5a | 8 | release = 1.1 |
be24b165 | 9 | |
802ea3af | 10 | groups = System/Libraries |
effb3ebd | 11 | url = https://sourceware.org/libffi |
802ea3af MT |
12 | license = BSD |
13 | summary = A portable foreign function interface library. | |
be24b165 | 14 | |
802ea3af | 15 | description |
95ea13fd SS |
16 | The libffi library provides a portable, high level programming |
17 | interface to various calling conventions. This allows a programmer to | |
be24b165 | 18 | call any function specified by a call interface description at run time. |
802ea3af MT |
19 | end |
20 | ||
effb3ebd | 21 | source_dl = https://github.com/libffi/libffi/releases/download/v%{version}/ |
802ea3af | 22 | |
95ea13fd SS |
23 | build |
24 | prepare_cmds | |
25 | # Fix include directories. | |
effb3ebd MT |
26 | #ised -e '/^includesdir/ s/$(libdir).*$/$(includedir)/' \ |
27 | # -i include/Makefile.in | |
95ea13fd | 28 | |
effb3ebd MT |
29 | #sed -e '/^includedir/ s/=.*$/=@includedir@/' \ |
30 | # -e 's/^Cflags: -I${includedir}/Cflags:/' \ | |
31 | # -i libffi.pc.in | |
95ea13fd SS |
32 | end |
33 | end | |
34 | ||
802ea3af MT |
35 | packages |
36 | package %{name} | |
1f9bc2f0 | 37 | |
802ea3af MT |
38 | package %{name}-devel |
39 | template DEVEL | |
1f9bc2f0 | 40 | |
effb3ebd | 41 | files += %{libdir}/libffi-%{version} |
802ea3af | 42 | end |
1f9bc2f0 MT |
43 | |
44 | package %{name}-debuginfo | |
45 | template DEBUGINFO | |
46 | end | |
802ea3af | 47 | end |