36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
Bash
# Template file for 'linbox'
|
|
pkgname=linbox
|
|
version=1.6.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="fflas-ffpack"
|
|
short_desc="C++ library for exact, high-performance linear algebra"
|
|
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://linalg.org"
|
|
distfiles="https://github.com/linbox-team/linbox/releases/download/v${version}/linbox-${version}.tar.gz"
|
|
checksum=a58a188307b07c57964e844bceb99321d3043a8a4a1fccc082a54928bb9a0057
|
|
nocross=yes
|
|
|
|
build_options="native_build"
|
|
|
|
if [ -z "$build_option_native_build" ]; then
|
|
configure_args="--enable-sse --enable-sse2
|
|
--disable-sse3 --disable-ssse3 --disable-sse41 --disable-sse42
|
|
--disable-avx --disable-avx2 --disable-fma --disable-fma4"
|
|
fi
|
|
|
|
linbox-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/bin
|
|
vmove usr/share
|
|
}
|
|
}
|