void-packages/srcpkgs/arpack-ng/template

31 lines
784 B
Bash

# Template file for 'arpack-ng'
pkgname=arpack-ng
version=3.6.1
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="BSD-3-Clause"
homepage="https://github.com/opencollab/arpack-ng"
distfiles="https://github.com/opencollab/arpack-ng/archive/${version}.tar.gz"
checksum=c753f929d3f1092d84bb0883a8ffe2551a8cb94d5ab891e63f596a876e44c351
pre_configure() {
./bootstrap
}
post_install() {
vlicense COPYING
}
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
}
}