mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 18:32:58 +02:00
armadillo: update to 8.600.0. (#964)
This commit is contained in:
parent
ad00bd1102
commit
80195d11ec
1 changed files with 7 additions and 8 deletions
|
@ -1,27 +1,25 @@
|
||||||
# Template file for 'armadillo'
|
# Template file for 'armadillo'
|
||||||
pkgname=armadillo
|
pkgname=armadillo
|
||||||
version=8.500.1
|
version=8.600.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="pkg-config openblas-devel"
|
hostmakedepends="pkg-config openblas-devel"
|
||||||
makedepends="openblas-devel superlu-devel"
|
makedepends="openblas-devel superlu-devel $(vopt_if hdf5 hdf5-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="Apache-2.0"
|
license="Apache-2.0"
|
||||||
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=ace40efbe2df4b418ec713c71bbd20cedfa92a55015f810639319dec477aa12e
|
checksum=5f00c735e97fc23c910a225d1b6db9541af76022cc74f9b8b327dfa347926b40
|
||||||
|
|
||||||
# automatically link to openblas (so you just have to compile with
|
# automatically link to openblas (so you just have to compile with
|
||||||
# "-larmadillo" instead of "-larmadillo -lopenblas")
|
# "-larmadillo" instead of "-larmadillo -lopenblas")
|
||||||
configure_args="-DLAPACK_LIBRARY=/usr/lib/libopenblas.so"
|
configure_args="-DLAPACK_LIBRARY=/usr/lib/libopenblas.so $(vopt_if hdf5 -DDETECT_HDF5=ON)"
|
||||||
|
|
||||||
build_options="hdf5"
|
build_options="hdf5"
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
build_options_default="hdf5"
|
build_options_default="hdf5"
|
||||||
fi
|
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
|
||||||
|
@ -31,8 +29,9 @@ armadillo-devel_package() {
|
||||||
depends="${makedepends}"
|
depends="${makedepends}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/include"
|
vmove usr/include
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
vmove "/usr/share"
|
vmove /usr/share
|
||||||
|
vmove /usr/lib/pkgconfig
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue