cruxports/qrupdate/Pkgfile

22 lines
652 B
Plaintext
Raw Normal View History

2022-02-05 15:39:19 -05:00
# 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
}