# Maintainer: PktSurf app=libffi version=3.3 build=1sml homepage="http://sourceware.org/libffi/" download="ftp://sourceware.org/pub/libffi/libffi-$version.tar.gz" desc="A Portable Foreign Function Interface Library" requires="gcc-libs" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { ./configure \ --prefix=/usr \ --libdir=/usr/lib \ --disable-static sed -i 's@lib64@lib@g' Makefile x86_64*/Makefile x86_64*/$app.pc make make install DESTDIR=$pkg cp LICEN?E $pkgdocs/ mkfinalpkg } sha512sums=" 6d344a19ab2f30070a52762069434d2da590e6c356647aa627f493291004e6690af70ef7408d8b46b5c767edae020c595b4e389da64192f29db31ab930424d1a libffi-3.3.tar.lz "