26 lines
883 B
Bash
26 lines
883 B
Bash
# Template file for 'arb'
|
|
pkgname=arb
|
|
version=2.22.1
|
|
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"
|
|
changelog="https://raw.githubusercontent.com/fredrik-johansson/arb/master/doc/source/history.rst"
|
|
distfiles="https://github.com/fredrik-johansson/arb/archive/${version}.tar.gz"
|
|
checksum=1ef85518eee04885e8a90196498bc75e4e2410621d4184f2bc01d46b7080a243
|
|
|
|
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"
|
|
}
|
|
}
|