void-packages/srcpkgs/arpack-ng/template
2018-09-21 05:10:31 +02:00

31 lines
866 B
Bash

# Template file for 'arpack-ng'
pkgname=arpack-ng
version=3.6.3
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"
changelog="https://raw.githubusercontent.com/opencollab/arpack-ng/master/CHANGES"
distfiles="https://github.com/opencollab/arpack-ng/archive/${version}.tar.gz"
checksum=64f3551e5a2f8497399d82af3076b6a33bf1bc95fc46bbcabe66442db366f453
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
}
}