libffi-devel: fix includedir in pkgconfig file, bumprev.

This commit is contained in:
Juan RP 2010-11-11 11:49:34 +01:00
parent 399de5ee1f
commit 10f85ab23c
2 changed files with 9 additions and 0 deletions

View file

@ -5,6 +5,8 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
revision=1
Add_dependency run glibc-devel
Add_dependency run libffi

View file

@ -29,3 +29,10 @@ long_desc="
subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency build texinfo
post_install()
{
# Fix includedir for pkg-config file.
sed -i -e "s|\${libdir}/libffi-${version}|/usr|" \
${DESTDIR}/usr/lib/pkgconfig/libffi.pc
}