]> git.ipfire.org Git - ipfire-3.x.git/blame - libffi/libffi.nm
ccache: Update to 3.7.1
[ipfire-3.x.git] / libffi / libffi.nm
CommitLineData
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 6name = libffi
95ea13fd 7version = 3.2.1
802ea3af 8release = 1
be24b165 9
802ea3af
MT
10groups = System/Libraries
11url = http://sourceware.org/libffi
12license = BSD
13summary = A portable foreign function interface library.
be24b165 14
802ea3af 15description
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
19end
20
d84ba218 21source_dl = ftp://sourceware.org/pub/libffi/
802ea3af 22
95ea13fd
SS
23build
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
33end
34
802ea3af
MT
35packages
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 47end