void-packages/srcpkgs/arpack-ng/template

31 lines
784 B
Bash

# Template file for 'arpack-ng'
pkgname=arpack-ng
version=3.6.2
revision=2
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=673c8202de996fd3127350725eb1818e534db4e79de56d5dcee8c00768db599a
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
}
}