void-packages/srcpkgs/brial/template
2021-11-21 16:22:20 +01:00

27 lines
823 B
Bash

# Template file for 'brial'
pkgname=brial
version=1.2.10
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="boost-devel m4ri-devel"
short_desc="BRiAl (Boolean Ring Algebra) is the successor to PolyBoRi"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="GPL-2.0-or-later"
homepage="https://github.com/BRiAl/BRiAl"
distfiles="https://github.com/BRiAl/BRiAl/releases/download/$version/brial-$version.tar.bz2"
checksum=dd10ab9e0d74e046ec4d84eecbde9de026a2305246ee088883cbae5744b4f18d
if [ -n "$CROSS_BUILD" ]; then
configure_args+=" --with-boost-unit-test-framework=no"
fi
brial-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}