void-packages/srcpkgs/libffi/template

21 lines
683 B
Plaintext
Raw Normal View History

# Template file for 'libffi'
pkgname=libffi
2011-08-27 08:12:57 +02:00
version=3.0.10
revision=4
build_style=gnu-configure
configure_args="--includedir=/usr/include --with-pic=yes"
short_desc="Library supporting Foreign Function Interfaces"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-08-27 08:12:57 +02:00
homepage="http://sourceware.org/libffi"
license="MIT"
distfiles="ftp://sourceware.org/pub/$pkgname/$pkgname-$version.tar.gz"
2011-08-27 08:12:57 +02:00
checksum=f01eb9027e9eb56aeaeef636649877756d475d714ef8b47f627f65bc5f3b492f
subpackages="$pkgname-devel"
post_install() {
# Fix includedir for pkg-config file.
sed -i -e "s|\${libdir}/libffi-${version}|/usr|" \
${DESTDIR}/usr/lib/pkgconfig/libffi.pc
2011-08-27 08:12:57 +02:00
vinstall LICENSE 644 usr/share/licenses/libffi
}