32 lines
888 B
Bash
32 lines
888 B
Bash
# Template file for 'arpack-ng'
|
|
pkgname=arpack-ng
|
|
version=3.7.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool gcc-fortran pkg-config"
|
|
makedepends="lapack-devel eigen"
|
|
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=972e3fc3cd0b9d6b5a737c9bf6fd07515c0d6549319d4ffb06970e64fa3cc2d6
|
|
|
|
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
|
|
}
|
|
}
|