26b0b7abb8
Closes #8839.
31 lines
815 B
Bash
31 lines
815 B
Bash
# Template file for 'arpack-ng'
|
|
pkgname=arpack-ng
|
|
version=3.5.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool gcc-fortran"
|
|
makedepends="lapack-devel"
|
|
short_desc="Collection of Fortran77 subroutines"
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
license="3-clause-BSD"
|
|
homepage="https://github.com/opencollab/arpack-ng"
|
|
distfiles="https://github.com/opencollab/arpack-ng/archive/${version}.tar.gz"
|
|
checksum=50f7a3e3aec2e08e732a487919262238f8504c3ef927246ec3495617dde81239
|
|
|
|
pre_configure() {
|
|
export FFLAGS="-fPIC"
|
|
./bootstrap
|
|
}
|
|
post_install() {
|
|
vlicense COPYING LICENSE
|
|
}
|
|
|
|
arpack-ng-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|