mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +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
|
# - disable LTO via -DIPO_SUPPORTED=FALSE
|
||||||
|
|
||||||
pkgname=flint
|
pkgname=flint
|
||||||
pkgver=2.9.0
|
pkgver=3.0.0
|
||||||
pkgrel=1
|
pkgrel=3
|
||||||
pkgdesc='A C library for doing number theory'
|
pkgdesc='A C library for doing number theory'
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url='http://www.flintlib.org'
|
url='http://www.flintlib.org'
|
||||||
license=(GPL)
|
license=(GPL)
|
||||||
depends=(mpfr ntl cblas)
|
depends=(cblas
|
||||||
makedepends=(cmake python)
|
glibc
|
||||||
|
gmp
|
||||||
|
mpfr)
|
||||||
|
makedepends=(cmake
|
||||||
|
python)
|
||||||
|
replaces=(antic
|
||||||
|
arb)
|
||||||
source=(http://www.flintlib.org/flint-$pkgver.tar.gz)
|
source=(http://www.flintlib.org/flint-$pkgver.tar.gz)
|
||||||
sha256sums=('2fc090d51033c93208e6c10d406397a53c983ae5343b958eb25f72a57a4ce76a')
|
sha256sums=('b9086e31e3dab89896d7edbf05a5b758d5b4b72183a1a3478f23eabdcaaae044')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cmake -B build -S $pkgname-$pkgver \
|
cmake -B build -S $pkgname-$pkgver \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DWITH_NTL=ON \
|
-DFLINT_MAJOR=3 -DFLINT_MINOR=0 -DFLINT_PATCH=0 \
|
||||||
-DIPO_SUPPORTED=FALSE
|
-DIPO_SUPPORTED=FALSE
|
||||||
cmake --build build
|
cmake --build build
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue