Commit 3fff94f8 authored by Jakub Jirutka's avatar Jakub Jirutka
Browse files

testing/arpack: new abuild

https://github.com/opencollab/arpack-ng
Collection of Fortran77 subroutines designed to solve large scale
eigenvalue problems.
parent f03a7db3
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=arpack
_pkgname=$pkgname-ng
pkgver=3.3.0
pkgrel=0
pkgdesc="Collection of Fortran77 subroutines designed to solve large scale eigenvalue problems"
url="https://github.com/opencollab/arpack-ng"
arch="all"
license="BSD"
depends=""
depends_dev="openblas-dev"
makedepends="$depends_dev autoconf automake gfortran libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/opencollab/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
prepare() {
cd "$builddir"
./bootstrap
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--localstatedir=/var \
|| return 1
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" || return 1
install -d "$pkgdir"/usr/share/doc/$pkgname || return 1
mv DOCUMENTS/* "$pkgdir"/usr/share/doc/$pkgname/
}
md5sums="ed3648a23f0a868a43ef44c97a21bad5 arpack-3.3.0.tar.gz"
sha256sums="ad59811e7d79d50b8ba19fd908f92a3683d883597b2c7759fdcc38f6311fe5b3 arpack-3.3.0.tar.gz"
sha512sums="deb33b87e1d55ec76387d3a860debf6458d794fc8434023c2b4721f8c449f5bf9a68c76ded5322ee94a88f9c571611b5f2ae71ca803cef7e84d59798f58c8873 arpack-3.3.0.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment