void-packages/srcpkgs/arb/template
2021-09-29 15:39:03 -03:00

25 lines
785 B
Bash

# Template file for 'arb'
pkgname=arb
version=2.21.0
revision=1
build_style=configure
configure_args="--prefix=/usr --with-gmp=/usr --with-mpfr=/usr --with-flint=/usr"
makedepends="flintlib-devel"
short_desc="C library for arbitrary-precision interval arithmetic"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="LGPL-2.1-or-later"
homepage="https://arblib.org"
distfiles="https://github.com/fredrik-johansson/arb/archive/${version}.tar.gz"
checksum=6493ebcfb1772458db4ca66da4c5536968484a3815cf75d2bb33c600b4471910
CFLAGS="-D_GNU_SOURCE" # needed for cpu_set_t
arb-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}