]> git.ipfire.org Git - ipfire-3.x.git/blob - compat-libffi/compat-libffi.nm
libuv: New package
[ipfire-3.x.git] / compat-libffi / compat-libffi.nm
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 = 2
9 sup_arches = x86_64 i686 armv7hl armv5tel
10 thisapp = libffi-%{version}
11
12 groups = System/Libraries
13 url = http://sourceware.org/libffi
14 license = BSD
15 summary = A portable foreign function interface library.
16
17 description
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.
24 end
25
26 source_dl = ftp://sourceware.org/pub/libffi/
27
28 build
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
37 end
38
39 packages
40 package %{name}
41 obsoletes
42 libffi <= %{thisver}
43 end
44 end
45
46 package %{name}-debuginfo
47 template DEBUGINFO
48 end
49 end