void-packages/srcpkgs/armadillo/template

29 lines
723 B
Bash
Raw Normal View History

# Template file for 'armadillo'
pkgname=armadillo
version=7.800.2
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="openblas-devel superlu-devel"
short_desc="C++ linear algebra library"
maintainer="Julien Dehos <dehos@lisic.univ-littoral.fr>"
license="BSD"
homepage="http://arma.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/arma/${pkgname}-${version}.tar.xz"
checksum=efd70600ab6f30449d90a3e58ff7499937985209bb0a03ce4e322474dbf11fe3
configure_args="-DINSTALL_LIB_DIR=/usr/lib"
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"
}
}