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