libffi: add checkdepends

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2019-05-08 06:27:22 +02:00
parent a8cf61b5d0
commit 6f093069cd
No known key found for this signature in database
GPG key ID: DE55AD8DBEBB4EE8

View file

@ -4,10 +4,11 @@ version=3.2.1
revision=5
build_style=gnu-configure
configure_args="--includedir=/usr/include --with-pic"
checkdepends="dejagnu"
short_desc="Library supporting Foreign Function Interfaces"
maintainer="Juan RP <xtraeme@voidlinux.org>"
homepage="http://sourceware.org/libffi"
license="MIT"
homepage="http://sourceware.org/libffi"
distfiles="ftp://sourceware.org/pub/$pkgname/$pkgname-$version.tar.gz"
checksum=d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37
@ -17,7 +18,7 @@ pre_install() {
}
post_install() {
# Fix includedir for pkg-config file.
sed -i -e "s|\${libdir}/libffi-${version}|/usr|" \
vsed -i -e "s|\${libdir}/libffi-${version}|/usr|" \
${DESTDIR}/usr/lib/pkgconfig/libffi.pc
vlicense LICENSE
rm -f ${DESTDIR}/usr/lib64