armadillo: update to 7.960.0

This commit is contained in:
Julien Dehos 2017-08-01 11:31:41 +02:00
parent 3729d9f73b
commit e752e9dd84

View file

@ -1,17 +1,27 @@
# Template file for 'armadillo' # Template file for 'armadillo'
pkgname=armadillo pkgname=armadillo
version=7.800.2 version=7.960.0
revision=1 revision=1
build_style=cmake build_style=cmake
hostmakedepends="pkg-config" hostmakedepends="pkg-config openblas-devel"
makedepends="openblas-devel superlu-devel" makedepends="openblas-devel superlu-devel"
short_desc="C++ linear algebra library" short_desc="C++ linear algebra library"
maintainer="Julien Dehos <dehos@lisic.univ-littoral.fr>" maintainer="Julien Dehos <dehos@lisic.univ-littoral.fr>"
license="BSD" license="BSD"
homepage="http://arma.sourceforge.net/" homepage="http://arma.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/arma/${pkgname}-${version}.tar.xz" distfiles="${SOURCEFORGE_SITE}/arma/${pkgname}-${version}.tar.xz"
checksum=efd70600ab6f30449d90a3e58ff7499937985209bb0a03ce4e322474dbf11fe3 checksum=8ea919c4312ec43d454f61fdd0e34282f94739eb51adc78d21176717143cfd32
configure_args="-DINSTALL_LIB_DIR=/usr/lib"
# automatically link to openblas (so you just have to compile with
# "-larmadillo" instead of "-larmadillo -lopenblas")
configure_args="-DLAPACK_LIBRARY=/usr/lib/libopenblas.so"
build_options="hdf5"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="hdf5"
fi
makedepends+=" $(vopt_if hdf5 hdf5-devel)"
configure_args+=" $(vopt_if hdf5 -DDETECT_HDF5=ON)"
post_install() { post_install() {
vlicense LICENSE.txt vlicense LICENSE.txt