From a47088f2d0221080e72728626cd67c9f14b3f737 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 19 Nov 2014 07:39:37 +0100 Subject: [PATCH] libffi: update to 3.2.1. --- srcpkgs/libffi/template | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/srcpkgs/libffi/template b/srcpkgs/libffi/template index b6e0f433e5c..a4922298209 100644 --- a/srcpkgs/libffi/template +++ b/srcpkgs/libffi/template @@ -1,29 +1,26 @@ # Template file for 'libffi' pkgname=libffi -version=3.1 -revision=2 +version=3.2.1 +revision=1 build_style=gnu-configure -configure_args="--includedir=/usr/include --with-pic=yes" +configure_args="--includedir=/usr/include --with-pic" short_desc="Library supporting Foreign Function Interfaces" maintainer="Juan RP " homepage="http://sourceware.org/libffi" license="MIT" distfiles="ftp://sourceware.org/pub/$pkgname/$pkgname-$version.tar.gz" -checksum=97feeeadca5e21870fa4433bc953d1b3af3f698d5df8a428f68b73cd60aef6eb +checksum=d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37 pre_install() { vmkdir usr/lib ln -s lib ${DESTDIR}/usr/lib64 } - post_install() { # Fix includedir for pkg-config file. sed -i -e "s|\${libdir}/libffi-${version}|/usr|" \ ${DESTDIR}/usr/lib/pkgconfig/libffi.pc - # Fix libdir, it's a variable! - sed -i 's|\$(libdir)|\${libdir}|g' ${DESTDIR}/usr/lib/pkgconfig/libffi.pc - vinstall LICENSE 644 usr/share/licenses/libffi - rm ${DESTDIR}/usr/lib64 + vlicense LICENSE + rm -f ${DESTDIR}/usr/lib64 } libffi-devel_package() {