libffi: new package at 3.2.1

This commit is contained in:
Muhammad Herdiansyah 2019-07-23 13:15:56 +00:00
parent 1ac5888703
commit 0f07b47b95
4 changed files with 20 additions and 0 deletions

17
testing/libffi/build Executable file
View File

@ -0,0 +1,17 @@
#!/bin/sh -e
./configure \
--prefix=/usr \
--with-pic
make
make DESTDIR="$1" install
# Fix location for headers.
mkdir -p "$1/usr/include"
mv "$1/usr/lib/libffi-3.2.1/include/"*.h \
"$1/usr/include"
rmdir "$1/usr/lib/libffi-3.2.1/include"
sed -i -e '/^includedir=/{s,=.*,=/usr/include,g}' \
"$1/usr/lib/pkgconfig/libffi.pc"

1
testing/libffi/checksums Normal file
View File

@ -0,0 +1 @@
d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37 libffi-3.2.1.tar.gz

1
testing/libffi/sources Normal file
View File

@ -0,0 +1 @@
ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz

1
testing/libffi/version Normal file
View File

@ -0,0 +1 @@
3.2.1 1