]> git.ipfire.org Git - ipfire-3.x.git/blame - libffi/libffi.nm
json-c: Update to version 0.17-20230812
[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
effb3ebd 7version = 3.4.4
fb0b5f5a 8release = 1.1
be24b165 9
802ea3af 10groups = System/Libraries
effb3ebd 11url = https://sourceware.org/libffi
802ea3af
MT
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
effb3ebd 21source_dl = https://github.com/libffi/libffi/releases/download/v%{version}/
802ea3af 22
95ea13fd
SS
23build
24 prepare_cmds
25 # Fix include directories.
effb3ebd
MT
26 #ised -e '/^includesdir/ s/$(libdir).*$/$(includedir)/' \
27 # -i include/Makefile.in
95ea13fd 28
effb3ebd
MT
29 #sed -e '/^includedir/ s/=.*$/=@includedir@/' \
30 # -e 's/^Cflags: -I${includedir}/Cflags:/' \
31 # -i libffi.pc.in
95ea13fd
SS
32 end
33end
34
802ea3af
MT
35packages
36 package %{name}
1f9bc2f0 37
802ea3af
MT
38 package %{name}-devel
39 template DEVEL
1f9bc2f0 40
effb3ebd 41 files += %{libdir}/libffi-%{version}
802ea3af 42 end
1f9bc2f0
MT
43
44 package %{name}-debuginfo
45 template DEBUGINFO
46 end
802ea3af 47end