forked from ports/compat-32
23 lines
448 B
Plaintext
23 lines
448 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.2.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
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/{man,share}
|
|
}
|