void-packages/srcpkgs/ffcall/template

31 lines
881 B
Bash

# Template file for 'ffcall'
pkgname=ffcall
version=2.1
revision=1
wrksrc="libffcall-${version}"
build_style=gnu-configure
short_desc="Libraries to build foreign function call interfaces"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="GPL-2.0-or-later"
homepage="https://www.gnu.org/software/libffcall"
distfiles="${GNU_SITE}/libffcall/libffcall-${version}.tar.gz"
checksum=a091fb8bbabf17c94a2dae2d41161b96a08ab92b5f75d3364157a2c34d538c47
nocross="configure requires running code to check for features"
# won't work with parallel_build so just turn it off (thanks to JuanRP for the Hint)
disable_parallel_build=yes
do_install() {
make DESTDIR=${DESTDIR} htmldir=/usr/share/doc/ffcall install
}
ffcall-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share/man/man3
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}