void-packages/srcpkgs/mpfi/template

30 lines
799 B
Bash

# Template file for 'mpfi'
pkgname=mpfi
version=1.5.3
revision=1
build_wrksrc=mpfi
build_style=gnu-configure
hostmakedepends="automake autoconf libtool texinfo"
makedepends="mpfr-devel"
short_desc="C library for interval arithmetic"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="GPL-3.0-or-later"
homepage="http://perso.ens-lyon.fr/nathalie.revol/software.html"
distfiles="https://gitlab.inria.fr/mpfi/mpfi/-/archive/${version}/mpfi-${version}.tar.bz2"
checksum=6ad5247b37b9f9c024103fd64e76b6360294f471d448aac3797a0f44428024c3
pre_configure() {
autoreconf -fi
}
mpfi-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/info
}
}