diff --git a/common/shlibs b/common/shlibs index f4112f44c2e..1c53abdfb7a 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4061,5 +4061,7 @@ libfactory-4.2.1.so singular-4.2.1_1 libpolys-4.2.1.so singular-4.2.1_1 libomalloc-0.9.6.so singular-4.2.1_1 libsingular_resources-4.2.1.so singular-4.2.1_1 +libbrial.so.3 brial-1.2.10_1 +libbrial_groebner.so.3 brial-1.2.10_1 libm4ri-0.0.20200125.so m4ri-20200125_1 libm4rie-0.0.20200125.so m4rie-20200125_1 diff --git a/srcpkgs/brial-devel b/srcpkgs/brial-devel new file mode 120000 index 00000000000..dde7d119988 --- /dev/null +++ b/srcpkgs/brial-devel @@ -0,0 +1 @@ +brial \ No newline at end of file diff --git a/srcpkgs/brial/template b/srcpkgs/brial/template new file mode 100644 index 00000000000..18fdb463e8d --- /dev/null +++ b/srcpkgs/brial/template @@ -0,0 +1,27 @@ +# 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 " +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" + } +}