void-packages/srcpkgs/arb/template

27 lines
883 B
Bash
Raw Normal View History

2018-02-04 05:00:19 +01:00
# Template file for 'arb'
pkgname=arb
2021-10-27 04:27:14 +02:00
version=2.21.1
2018-02-04 05:00:19 +01:00
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"
2021-10-27 04:27:14 +02:00
changelog="https://raw.githubusercontent.com/fredrik-johansson/arb/master/doc/source/history.rst"
2018-02-04 05:00:19 +01:00
distfiles="https://github.com/fredrik-johansson/arb/archive/${version}.tar.gz"
2021-10-27 04:27:14 +02:00
checksum=aecc9f55eb35a00a2490e9a7536a0babf8ac86bb13d32a4a95e1216f9f5cbfa8
2018-02-04 05:00:19 +01:00
2021-09-28 20:34:48 +02:00
CFLAGS="-D_GNU_SOURCE" # needed for cpu_set_t
2018-02-04 05:00:19 +01:00
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"
}
}