28 lines
823 B
Bash
28 lines
823 B
Bash
# Template file for 'brial'
|
|
pkgname=brial
|
|
version=1.2.11
|
|
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=6c0f622009dcd9928295d748226baa9cdc1a87c32552e13772fddf95bbb6f02c
|
|
|
|
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"
|
|
}
|
|
}
|