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