2012-11-21 11:12:43 -06:00
|
|
|
# Description: Portable Foreign Function Interface Library
|
|
|
|
# URL: http://sourceware.org/libffi/
|
2013-02-02 01:54:23 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
name=libffi-32
|
2014-11-27 20:16:20 +11:00
|
|
|
version=3.2.1
|
2012-11-21 11:12:43 -06:00
|
|
|
release=1
|
|
|
|
source=(ftp://sourceware.org/pub/libffi/libffi-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
2014-11-15 13:50:50 +11:00
|
|
|
cd libffi-$version
|
2012-11-21 11:12:43 -06:00
|
|
|
|
2014-11-15 13:50:50 +11:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=/usr/lib32 \
|
|
|
|
--mandir=/usr/man
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
rm -r $PKG/usr/{man,share}
|
2012-11-21 11:12:43 -06:00
|
|
|
}
|