]>
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 |
95ea13fd | 7 | version = 3.2.1 |
802ea3af | 8 | release = 1 |
be24b165 | 9 | |
802ea3af MT |
10 | groups = System/Libraries |
11 | url = http://sourceware.org/libffi | |
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 | ||
d84ba218 | 21 | source_dl = ftp://sourceware.org/pub/libffi/ |
802ea3af | 22 | |
95ea13fd SS |
23 | build |
24 | prepare_cmds | |
25 | # Fix include directories. | |
26 | sed -e '/^includesdir/ s/$(libdir).*$/$(includedir)/' \ | |
27 | -i include/Makefile.in | |
28 | ||
29 | sed -e '/^includedir/ s/=.*$/=@includedir@/' \ | |
30 | -e 's/^Cflags: -I${includedir}/Cflags:/' \ | |
31 | -i libffi.pc.in | |
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 | |
802ea3af MT |
41 | files += /usr/lib*/libffi-%{version} |
42 | end | |
1f9bc2f0 MT |
43 | |
44 | package %{name}-debuginfo | |
45 | template DEBUGINFO | |
46 | end | |
802ea3af | 47 | end |