33 lines
812 B
Bash
33 lines
812 B
Bash
# Template file for 'arpack-ng'
|
|
pkgname=arpack-ng
|
|
version=3.4.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool"
|
|
makedepends="gcc-fortran libgfortran-devel blas-devel lapack-devel"
|
|
short_desc="Collection of Fortran77 subroutines"
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
nocross=yes
|
|
nopie=yes
|
|
license="BSD"
|
|
homepage="https://github.com/opencollab/arpack-ng"
|
|
distfiles="https://github.com/opencollab/arpack-ng/archive/${version}.tar.gz"
|
|
checksum=69e9fa08bacb2475e636da05a6c222b17c67f1ebeab3793762062248dd9d842f
|
|
|
|
pre_configure() {
|
|
./bootstrap
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
arpack-ng-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|