mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-13 00:16:45 +02:00
37 lines
932 B
Text
37 lines
932 B
Text
# Contributor: Grigory Kirillov <txgk@bk.ru>
|
|
# Maintainer:
|
|
pkgname=libqd
|
|
pkgver=2.3.24
|
|
pkgrel=0
|
|
pkgdesc="Double-double and quad-double library for Fortran and C++"
|
|
url="https://www.davidhbailey.com/dhbsoftware"
|
|
# aarch64, ppc64le, s390x, loongarch64: fail tests
|
|
arch="all !aarch64 !ppc64le !s390x !loongarch64"
|
|
license="BSD-3-Clause-LBNL"
|
|
makedepends="autoconf gfortran"
|
|
source="https://www.davidhbailey.com/dhbsoftware/qd-$pkgver.tar.gz"
|
|
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
|
|
builddir="$srcdir/qd-$pkgver"
|
|
|
|
build() {
|
|
export CXXFLAGS="${CXXFLAGS/-Os/-O3}" # gotta go fast
|
|
|
|
./configure \
|
|
--target="$CTARGET" \
|
|
--build="$CBUILD" \
|
|
--host="$CHOST" \
|
|
--prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
7f233e9d0edcb442da160a49bc97df87acf258c3251828e2d473206022a36581295f38c685ac5f0c78b106605f12698f3d0cc0b4865be220a50b3536820ac1b7 qd-2.3.24.tar.gz
|
|
"
|