void-packages/srcpkgs/libffi/template
Piraty f74d85a69b libffi: cleanup
don't ask the compiler about libdir
2020-06-15 17:33:58 +02:00

29 lines
771 B
Bash

# Template file for 'libffi'
pkgname=libffi
version=3.3
revision=2
build_style=gnu-configure
configure_args="--includedir=/usr/include --disable-multi-os-directory --with-pic"
checkdepends="dejagnu"
short_desc="Library supporting Foreign Function Interfaces"
maintainer="q66 <daniel@octaforge.org>"
license="MIT"
homepage="http://sourceware.org/libffi"
distfiles="ftp://sourceware.org/pub/$pkgname/$pkgname-$version.tar.gz"
checksum=72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056
post_install() {
vlicense LICENSE
}
libffi-devel_package() {
depends="libffi>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share
}
}