mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/flint to 3.0.0-3
This commit is contained in:
parent
8a46d3e232
commit
2e6175ba1a
2 changed files with 31 additions and 6 deletions
19
extra/flint/.SRCINFO
Normal file
19
extra/flint/.SRCINFO
Normal file
|
@ -0,0 +1,19 @@
|
|||
pkgbase = flint
|
||||
pkgdesc = A C library for doing number theory
|
||||
pkgver = 3.0.0
|
||||
pkgrel = 3
|
||||
url = http://www.flintlib.org
|
||||
arch = x86_64
|
||||
license = GPL
|
||||
makedepends = cmake
|
||||
makedepends = python
|
||||
depends = cblas
|
||||
depends = glibc
|
||||
depends = gmp
|
||||
depends = mpfr
|
||||
replaces = antic
|
||||
replaces = arb
|
||||
source = http://www.flintlib.org/flint-3.0.0.tar.gz
|
||||
sha256sums = b9086e31e3dab89896d7edbf05a5b758d5b4b72183a1a3478f23eabdcaaae044
|
||||
|
||||
pkgname = flint
|
|
@ -6,21 +6,27 @@
|
|||
# - disable LTO via -DIPO_SUPPORTED=FALSE
|
||||
|
||||
pkgname=flint
|
||||
pkgver=2.9.0
|
||||
pkgrel=1
|
||||
pkgver=3.0.0
|
||||
pkgrel=3
|
||||
pkgdesc='A C library for doing number theory'
|
||||
arch=(x86_64)
|
||||
url='http://www.flintlib.org'
|
||||
license=(GPL)
|
||||
depends=(mpfr ntl cblas)
|
||||
makedepends=(cmake python)
|
||||
depends=(cblas
|
||||
glibc
|
||||
gmp
|
||||
mpfr)
|
||||
makedepends=(cmake
|
||||
python)
|
||||
replaces=(antic
|
||||
arb)
|
||||
source=(http://www.flintlib.org/flint-$pkgver.tar.gz)
|
||||
sha256sums=('2fc090d51033c93208e6c10d406397a53c983ae5343b958eb25f72a57a4ce76a')
|
||||
sha256sums=('b9086e31e3dab89896d7edbf05a5b758d5b4b72183a1a3478f23eabdcaaae044')
|
||||
|
||||
build() {
|
||||
cmake -B build -S $pkgname-$pkgver \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DWITH_NTL=ON \
|
||||
-DFLINT_MAJOR=3 -DFLINT_MINOR=0 -DFLINT_PATCH=0 \
|
||||
-DIPO_SUPPORTED=FALSE
|
||||
cmake --build build
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue