# Template file for 'armadillo' pkgname=armadillo version=9.200.8 revision=1 build_style=cmake configure_args="-DDETECT_HDF5=$(vopt_if hdf5 ON OFF)" hostmakedepends="pkg-config openblas-devel" makedepends="openblas-devel superlu-devel $(vopt_if hdf5 hdf5-devel)" short_desc="C++ linear algebra library" maintainer="Julien Dehos " license="Apache-2.0" homepage="http://arma.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/arma/${pkgname}-${version}.tar.xz" checksum=e20e6d4dd5c71eeeb69963165868dc6de8ba347727d37bf50022bdfe9aa1cc25 build_options="hdf5" desc_option_hdf5="HDF5 support" if [ -z "$CROSS_BUILD" ]; then build_options_default="hdf5" fi post_install() { vlicense LICENSE.txt } armadillo-devel_package() { depends="${makedepends}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove "usr/lib/*.so" vmove /usr/share vmove /usr/lib/pkgconfig } }