mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
added community/flint
This commit is contained in:
parent
5ebbf2d46d
commit
62c02bf236
1 changed files with 30 additions and 0 deletions
30
community/flint/PKGBUILD
Normal file
30
community/flint/PKGBUILD
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
||||
# Contributor: Rémy Oudompheng <oudomphe@clipper.ens.fr>
|
||||
# Contributor: Alessandro "jakedust" Andrioni <jakedust@gmail.com>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - disable LTO via -DIPO_SUPPORTED=FALSE
|
||||
|
||||
pkgname=flint
|
||||
pkgver=2.6.0
|
||||
pkgrel=1
|
||||
pkgdesc="A C library for doing number theory"
|
||||
arch=(x86_64)
|
||||
url="http://www.flintlib.org"
|
||||
license=(GPL)
|
||||
depends=(mpfr ntl)
|
||||
makedepends=(cmake python)
|
||||
source=("http://www.flintlib.org/flint-$pkgver.tar.gz")
|
||||
sha256sums=('9089edadd12cbbda4533ab6f58efb7565fd973b5b82a89f53f64203bc3510840')
|
||||
|
||||
build() {
|
||||
cmake -B build -S $pkgname-$pkgver \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DWITH_NTL=ON \
|
||||
-DIPO_SUPPORTED=FALSE
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
Loading…
Reference in a new issue