22 lines
652 B
Plaintext
22 lines
652 B
Plaintext
# Description: Fortran library for fast updates of QR and Cholesky decompositions
|
|
# URL: https://sourceforge.net/projects/qrupdate
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on: lapack gcc-fortran
|
|
|
|
name=qrupdate
|
|
version=1.1.2
|
|
release=1
|
|
source=(https://downloads.sourceforge.net/project/qrupdate/qrupdate/1.2/$name-$version.tar.gz
|
|
r32-drop-awk.patch
|
|
r33-complex-real.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
patch -p1 < $SRC/r32-drop-awk.patch
|
|
patch -p1 < $SRC/r33-complex-real.patch
|
|
sed -e 's|^FFLAGS.*|FFLAGS=${CFLAGS} ${LDFLAGS}|' -i Makeconf
|
|
|
|
make PREFIX=/usr solib
|
|
make PREFIX=/usr DESTDIR=$PKG install
|
|
}
|