Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions srcpkgs/gap/template
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Template file for 'gap'
pkgname=gap
version=4.11.1
version=4.12.1
revision=1
build_style=gnu-configure
make_install_target="install-bin install-gaproot install-headers install-libgap"
make_install_target="install"
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/"
homepage="https://www.gap-system.org/"
distfiles="https://github.com/gap-system/gap/releases/download/v${version}/gap-${version}.tar.gz"
checksum=6635c5da7d82755f8339486b9cac33766f58712f297e8234fba40818902ea304
checksum=f9ebef11ee31b210ce36e3c70960742b4e253282bbd5270adc9324273c92b016

if [ "$XBPS_CHECK_PKGS" = full ]; then
# not sure about this -- takes about 25 minutes
Expand All @@ -21,20 +21,18 @@ fi
_GAPROOT=/usr/share/gap/

# minimal required packages
_GAPPKGS="GAPDoc primgrp SmallGrp transgrp"
_GAPPKGS="gapdoc primgrp smallgrp transgrp"

# other expected packages
_GAPPKGS+=" atlasrep autpgrp alnuth crisp ctbllib FactInt fga irredsol laguna
polenta polycyclic resclasses sophus tomlib"
_GAPPKGS+=" atlasrep autpgrp alnuth crisp ctbllib factint fga irredsol laguna
polenta polycyclic resclasses sophus tomlib utils"

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() {
Expand Down