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
|
2013-03-20 12:42:25 +11:00
|
|
|
version=3.0.13
|
2012-11-21 11:12:43 -06:00
|
|
|
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
|
2013-03-20 12:42:25 +11:00
|
|
|
sed -i -e 's,\(toolexeclibdir = $(libdir)\).*,\1,' \
|
|
|
|
x86_64-unknown-linux-gnu/Makefile
|
2012-11-21 11:12:43 -06:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/{man,share}
|
|
|
|
}
|