diff --git a/srcpkgs/flintlib/template b/srcpkgs/flintlib/template index cebf8e30081..57a4a2de4f4 100644 --- a/srcpkgs/flintlib/template +++ b/srcpkgs/flintlib/template @@ -1,21 +1,24 @@ # Template file for 'flintlib' pkgname=flintlib -version=2.8.4 +version=2.8.5 revision=1 wrksrc="flint-${version}" build_style=configure -configure_args="--prefix=/usr --with-gmp=/usr --with-mpfr=/usr $(vopt_if ntl --with-ntl=/usr)" -makedepends="mpfr-devel $(vopt_if ntl ntl-devel)" +configure_args="--prefix=/usr $(vopt_with ntl) + $(vopt_if openblas --with-blas=${XBPS_CROSS_BASE}/usr/include/openblas)" +makedepends="mpfr-devel $(vopt_if ntl ntl-devel) + $(vopt_if openblas openblas-devel)" short_desc="Fast Library for Number Theory" maintainer="Gonzalo TornarĂ­a " license="LGPL-2.1-or-later" homepage="https://flintlib.org" changelog="https://raw.githubusercontent.com/wbhart/flint2/trunk/NEWS" distfiles="https://flintlib.org/flint-${version}.tar.gz" -checksum=61df92ea8c8e9dc692d46c71d7f50aaa09a33d4ba08d02a1784730a445e5e4be +checksum=5911fedff911100f15781f35e3a4fa934fe60e4aea02a8c10cc8918101c1eed8 -build_options="ntl" +build_options="ntl openblas" desc_option_ntl="enable NTL support" +build_options_default="openblas" if [ -z "$CROSS_BUILD" ]; then build_options_default+=" ntl"