]>
Commit | Line | Data |
---|---|---|
d84ba218 MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = compat-libffi | |
7 | version = 3.0.10 | |
8 | release = 1 | |
9 | thisapp = libffi-%{version} | |
10 | ||
11 | groups = System/Libraries | |
12 | url = http://sourceware.org/libffi | |
13 | license = BSD | |
14 | summary = A portable foreign function interface library. | |
15 | ||
16 | description | |
17 | This package is for compatability to old versions only, and provides no | |
18 | Development libraries. | |
19 | ||
20 | The libffi library provides a portable, high level programming | |
21 | interface to various calling conventions. This allows a programmer to | |
22 | call any function specified by a call interface description at run time. | |
23 | end | |
24 | ||
25 | source_dl = ftp://sourceware.org/pub/libffi/ | |
26 | ||
27 | build | |
28 | install_cmds | |
29 | # Remove all development files, because nothing | |
30 | # should link against this. | |
31 | rm -rvf %{BUILDROOT}%{libdir}/pkgconfig | |
32 | rm -rvf %{BUILDROOT}%{libdir}/libffi-%{version} | |
33 | rm -rvf %{BUILDROOT}%{libdir}/*.so | |
34 | rm -rvf %{BUILDROOT}%{mandir} | |
35 | end | |
36 | end | |
37 | ||
38 | packages | |
39 | package %{name} | |
40 | obsoletes | |
41 | libffi <= %{thisver} | |
42 | end | |
43 | end | |
44 | ||
45 | package %{name}-debuginfo | |
46 | template DEBUGINFO | |
47 | end | |
48 | end |