New package: givaro-4.1.1

This commit is contained in:
Gonzalo Tornaría 2018-01-09 23:00:22 -03:00 committed by Érico Nogueira Rolim
parent 24f1486301
commit c18b1f49b3
3 changed files with 39 additions and 0 deletions

View file

@ -3999,6 +3999,7 @@ libopenaptx.so.0 libopenaptx-0.2.0_1
libsimavr.so.1 simavr-1.6_2 libsimavr.so.1 simavr-1.6_2
libsimavrparts.so.1 simavr-1.6_2 libsimavrparts.so.1 simavr-1.6_2
libsword-1.8.1.so libsword-1.8.1_6 libsword-1.8.1.so libsword-1.8.1_6
libgivaro.so.9 givaro-4.1.1_1
libpari-gmp.so.7 pari-2.13.0_1 libpari-gmp.so.7 pari-2.13.0_1
libpari-gmp-tls.so.7 pari-2.13.2_1 libpari-gmp-tls.so.7 pari-2.13.2_1
libtree-sitter.so.0 tree-sitter-0.19.0_1 libtree-sitter.so.0 tree-sitter-0.19.0_1

1
srcpkgs/givaro-devel Symbolic link
View file

@ -0,0 +1 @@
givaro

37
srcpkgs/givaro/template Normal file
View file

@ -0,0 +1,37 @@
# Template file for 'givaro'
pkgname=givaro
version=4.1.1
revision=1
build_style=gnu-configure
makedepends="gmpxx-devel"
short_desc="C++ library for arithmetic and algebraic computations"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="CECILL-B"
homepage="https://github.com/linbox-team/givaro"
distfiles="https://github.com/linbox-team/givaro/releases/download/v${version}/givaro-${version}.tar.gz"
checksum=628049899386e91da245aee6cd446350fbca87e94863bc0d815066c08150487f
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
post_install() {
vlicense "Licence_CeCILL-B_V1-en.txt"
}
givaro-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
}
}