New package: gap-4.11.1

This commit is contained in:
Gonzalo Tornaría 2022-01-10 16:18:04 -03:00 committed by Leah Neukirchen
parent c4d9410d7f
commit 9e7da3ec1d
3 changed files with 49 additions and 0 deletions

View file

@ -4021,6 +4021,7 @@ libpari-gmp.so.7 pari-2.13.0_1
libpari-gmp-tls.so.7 pari-2.13.2_1
libtree-sitter.so.0 tree-sitter-0.19.0_1
libplanarity.so.0 planarity-3.0.1.1_1
libgap.so.0 gap-4.11.1_1
libgtkdatabox.so.1 gtkdatabox3-1.0.0_1
libgf2x.so.3 gf2x-1.3.0_1
libntl.so.44 ntl-11.5.1_1

1
srcpkgs/gap-devel Symbolic link
View file

@ -0,0 +1 @@
gap

47
srcpkgs/gap/template Normal file
View file

@ -0,0 +1,47 @@
# Template file for 'gap'
pkgname=gap
version=4.11.1
revision=1
build_style=gnu-configure
make_install_target="install-bin install-gaproot install-headers install-libgap"
makedepends="gmp-devel zlib-devel readline-devel"
checkdepends="perl"
short_desc="Groups, Algorithms, Programming - computational discrete algebra"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="GPL-2.0-or-later"
homepage="http://www.gap-system.org/"
distfiles="https://github.com/gap-system/gap/releases/download/v${version}/gap-${version}.tar.gz"
checksum=6635c5da7d82755f8339486b9cac33766f58712f297e8234fba40818902ea304
if [ "$XBPS_CHECK_PKGS" = full ]; then
# not sure about this -- takes about 25 minutes
make_check_target=teststandard
fi
_GAPROOT=/usr/share/gap/
# minimal required packages
_GAPPKGS="GAPDoc primgrp SmallGrp transgrp"
# other expected packages
_GAPPKGS+=" atlasrep autpgrp alnuth crisp ctbllib FactInt fga irredsol laguna
polenta polycyclic resclasses sophus tomlib"
post_install() {
vmkdir ${_GAPROOT}/pkg
for p in ${_GAPPKGS}; do
[ -d pkg/$p ] || p="$p-*"
vcopy "pkg/$p" ${_GAPROOT}/pkg
done
# not handled by make install-headers
vcopy gen/config.h /usr/include/gap
}
gap-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}