20 lines
546 B
Plaintext
20 lines
546 B
Plaintext
# Description: Portable Foreign Function Interface Library
|
|
# URL: http://sourceware.org/libffi/
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
|
|
name=libffi-32
|
|
version=3.1
|
|
release=1
|
|
source=(ftp://sourceware.org/pub/libffi/libffi-$version.tar.gz)
|
|
|
|
build() {
|
|
cd libffi-$version
|
|
|
|
./configure --prefix=/usr --libdir=/usr/lib32 --mandir=/usr/man
|
|
sed -i -e 's,\(toolexeclibdir = $(libdir)\).*,\1,' \
|
|
x86_64-unknown-linux-gnu/Makefile
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -r $PKG/usr/{man,share}
|
|
}
|