26 lines
782 B
Bash
26 lines
782 B
Bash
# Template file for 'flintlib'
|
|
pkgname=flintlib
|
|
version=2.8.0
|
|
revision=1
|
|
wrksrc="flint-${version}"
|
|
build_style=configure
|
|
configure_args="--prefix=/usr --with-gmp=/usr --with-mpfr=/usr --with-ntl=/usr"
|
|
makedepends="mpfr-devel ntl-devel"
|
|
short_desc="Fast Library for Number Theory"
|
|
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://flintlib.org"
|
|
distfiles="https://flintlib.org/flint-${version}.tar.gz"
|
|
checksum=584235cdc39d779d9920eaef16fe084f3c26ffeeea003a3fff64a20a0f33449e
|
|
|
|
CFLAGS="-D_GNU_SOURCE" # needed for cpu_set_t
|
|
|
|
flintlib-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} mpfr-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|