libffi 3.3

This commit is contained in:
Andrius Štikonas 2021-07-01 21:59:05 +01:00 committed by fosslinux
parent acfe6cc771
commit bdab13eb60
6 changed files with 33 additions and 0 deletions

View File

@ -55,6 +55,7 @@ a32032bab36208509466654df12f507600dfe0313feebbcd218c32a70bf72a16 grep-2.4.tar.g
1ca41818a23c9c59ef1d5e1d00c0d5eaa2285d931c0fb059637d7c0cc02ad967 gzip-1.2.4.tar.gz
9f233d8b78e4351fe9dd2d50d83958a0e5af36f54e9818521458a08e058691ba heirloom-devtools-070527.tar.bz2
a4adadf76b496a6bc50795702253ecfcb6f0d159b68038f31a5362009340bca2 help2man-1.36.4.tar.gz
72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056 libffi-3.3.tar.gz
8e8ce6175d435e7df8c9bbb0e5fd5357691cdc28c1a2d00fdd9b47b7643bec3a libtool-1.4.tar.gz
c4e63399b12f5858d11c44cea8e92f21cd564f8548e488dadc84046b424c80fc libtool-2.2.4.tar.bz2
eb8fb2c3e4b6e2d336608377050892b54c3c983b646c561836550863003c05d7 libunistring-0.9.10.tar.xz

View File

@ -785,3 +785,9 @@ libunistring 0.9.10
Library for manipulating Unicode and C strings according to Unicode standard. This
is a dependency of GNU Guile.
libffi 3.3
==========
The libffi library provides a portable, high level programming interface to various
calling conventions.

View File

@ -192,3 +192,6 @@ class SysC(SysGeneral):
# libunistring 0.9.10
self.get_file(["https://mirrors.kernel.org/gnu/libunistring/libunistring-0.9.10.tar.xz",
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-52a06cb3.tar.gz"])
# libffi 3.3
self.get_file("https://github.com/libffi/libffi/releases/download/v3.3/libffi-3.3.tar.gz")

View File

@ -0,0 +1,2 @@
7075d6d73018f2fb476becae14c3e99e048693c35171be2e720d0908c587c804 /usr/lib/musl/libffi.a
9820e2ba08793d65590abb65d6308332653cc3e318848f350a29321c96b3c21f /usr/lib/musl/libffi.la

19
sysc/libffi-3.3/libffi-3.3.sh Executable file
View File

@ -0,0 +1,19 @@
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
find . -name '*.info*' -delete
autoreconf-2.69 -fi
}
src_configure() {
./configure \
--prefix="${PREFIX}" \
--libdir="${PREFIX}/lib/musl" \
--build=i386-unknown-linux-musl \
--disable-shared \
--with-gcc-arch=generic \
--enable-pax_emutramp
}

View File

@ -70,6 +70,8 @@ build gperf-3.1
build libunistring-0.9.10
build libffi-3.3
if [ "$FORCE_TIMESTAMPS" = True ] ; then
echo 'Forcing all files timestamps to be 0 unix time.'
canonicalise_all_files_timestamp