mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
added community/fplll
This commit is contained in:
parent
4463c92e82
commit
4d56dc9cd3
1 changed files with 31 additions and 0 deletions
31
community/fplll/PKGBUILD
Normal file
31
community/fplll/PKGBUILD
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
||||||
|
|
||||||
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
|
# - explicitly link v5/v6 with libatomic
|
||||||
|
|
||||||
|
pkgname=fplll
|
||||||
|
pkgver=5.3.0
|
||||||
|
pkgrel=2
|
||||||
|
pkgdesc="Lattice algorithms using floating-point arithmetic"
|
||||||
|
arch=(x86_64)
|
||||||
|
url="https://github.com/fplll/fplll"
|
||||||
|
license=(LGPL)
|
||||||
|
depends=(mpfr qd)
|
||||||
|
conflicts=(libfplll)
|
||||||
|
provides=(libfplll)
|
||||||
|
replaces=(libfplll)
|
||||||
|
source=("https://github.com/fplll/fplll/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
|
||||||
|
sha256sums=('67a579842f5dabf9b3968b0c12af1ee808c5bfb7bc611fe4c2bba9ca00af1067')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
export LDFLAGS+=' -lpthread' # Fix underlinking
|
||||||
|
[[ $CARCH == "arm" || $CARCH == "armv6h" ]] && LIBS="-latomic"
|
||||||
|
LIBS=$LIBS ./configure --prefix=/usr
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
}
|
Loading…
Reference in a new issue