From 4382f939fa3c3552dc9a1757297d9af697816080 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 29 Mar 2018 19:06:01 -0300 Subject: [PATCH] ffcall: update to 2.1. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: #13045 [via git-merge-pr] Signed-off-by: Jürgen Buchmüller --- common/shlibs | 4 ++++ srcpkgs/ffcall-devel | 1 + srcpkgs/ffcall/template | 19 +++++++++++++++---- 3 files changed, 20 insertions(+), 4 deletions(-) create mode 120000 srcpkgs/ffcall-devel diff --git a/common/shlibs b/common/shlibs index 1651d40c5ec..f3565e8f132 100644 --- a/common/shlibs +++ b/common/shlibs @@ -192,6 +192,10 @@ libattr.so.1 attr-2.4.43_1 libacl.so.1 acl-2.2.47_1 libpython2.7.so.1.0 python-2.7_1 libffi.so.6 libffi-3.1_1 +libffcall.so.0 ffcall-2.1_1 +libavcall.so.1 ffcall-2.1_1 +libtrampoline.so.1 ffcall-2.1_1 +libcallback.so.1 ffcall-2.1_1 libcrack.so.2 libcracklib-2.8.22_2 libpam.so.0 pam-libs-1.1.6_3 libpamc.so.0 pam-libs-1.1.6_3 diff --git a/srcpkgs/ffcall-devel b/srcpkgs/ffcall-devel new file mode 120000 index 00000000000..60c2c32b1eb --- /dev/null +++ b/srcpkgs/ffcall-devel @@ -0,0 +1 @@ +ffcall \ No newline at end of file diff --git a/srcpkgs/ffcall/template b/srcpkgs/ffcall/template index c5756a100df..cac6fdd67ec 100644 --- a/srcpkgs/ffcall/template +++ b/srcpkgs/ffcall/template @@ -1,15 +1,16 @@ # Template file for 'ffcall' pkgname=ffcall -version=1.13 +version=2.1 revision=1 wrksrc="libffcall-${version}" build_style=gnu-configure -short_desc="Libraries to build foreign function call interfaces in embedded interpreters" +short_desc="Libraries to build foreign function call interfaces" maintainer="Martin Riese " -license="GPL-2" +license="GPL-2.0-or-later" homepage="https://www.gnu.org/software/libffcall" distfiles="${GNU_SITE}/libffcall/libffcall-${version}.tar.gz" -checksum=1707ce707dbbf57f1bbe9aa56929c0da866046b0d5a26eb0d96d9f0bb29bbce7 +checksum=a091fb8bbabf17c94a2dae2d41161b96a08ab92b5f75d3364157a2c34d538c47 +nocross="configure requires running code to check for features" # won't work with parallel_build so just turn it off (thanks to JuanRP for the Hint) disable_parallel_build=yes @@ -17,3 +18,13 @@ disable_parallel_build=yes do_install() { make DESTDIR=${DESTDIR} htmldir=/usr/share/doc/ffcall install } + +ffcall-devel_package() { + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/share/man/man3 + vmove "usr/lib/*.so" + vmove "usr/lib/*.a" + } +}