25 lines
580 B
Plaintext
Raw Normal View History

# Description: Portable Foreign Function Interface Library
2022-09-27 11:27:09 +02:00
# URL: https://sourceware.org/libffi/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
2017-07-09 14:01:59 +10:00
# Depends on: libffi
name=libffi-32
2024-02-23 19:08:05 +01:00
version=3.4.6
2024-02-15 23:08:35 +01:00
release=1
2022-03-02 18:34:10 +01:00
source=(https://github.com/libffi/libffi/releases/download/v$version/libffi-$version.tar.gz)
build() {
2017-07-09 14:01:59 +10:00
cd ${name%-*}-$version
# ffi.h is target-dependent
2014-11-15 13:50:50 +11:00
./configure \
--build=i686-pc-linux-gnu \
--includedir=/usr/lib32/libffi/include \
2014-11-15 13:50:50 +11:00
--prefix=/usr \
2017-07-09 14:01:59 +10:00
--libdir=/usr/lib32
2014-11-15 13:50:50 +11:00
make
make DESTDIR=$PKG install
rm -r $PKG/usr/{share/man,share}
}