New package: flintlib-2.8.0

This commit is contained in:
Gonzalo Tornaría 2018-02-02 22:42:49 -03:00 committed by Érico Nogueira Rolim
parent 492d9102b0
commit 9337068d3a
4 changed files with 31 additions and 0 deletions

View File

@ -3986,6 +3986,7 @@ libtree-sitter.so.0 tree-sitter-0.19.0_1
libgtkdatabox.so.1 gtkdatabox3-1.0.0_1
libgf2x.so.3 gf2x-1.3.0_1
libntl.so.44 ntl-11.5.1_1
libflint.so.16 flintlib-2.8.0_1
libwayland-client++.so.0 libwaylandpp-0.2.8_1
libwayland-cursor++.so.0 libwaylandpp-0.2.8_1
libwayland-egl++.so.0 libwaylandpp-0.2.8_1

1
srcpkgs/flintlib-devel Symbolic link
View File

@ -0,0 +1 @@
flintlib

26
srcpkgs/flintlib/template Normal file
View File

@ -0,0 +1,26 @@
# 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"
}
}

3
srcpkgs/flintlib/update Normal file
View File

@ -0,0 +1,3 @@
# package was named 'flintlib' because of another package
pkgname=flint
site="https://flintlib.org/downloads.html"