extra/polymake to 4.11-1

This commit is contained in:
Kevin Mihelich 2023-11-07 00:25:45 +00:00
parent 85939b8e81
commit d8c1387c20
2 changed files with 74 additions and 5 deletions

42
extra/polymake/.SRCINFO Normal file
View file

@ -0,0 +1,42 @@
pkgbase = polymake
pkgdesc = Open source software for research in polyhedral geometry
pkgver = 4.11
pkgrel = 1
url = https://polymake.org/
arch = x86_64
license = GPL
makedepends = ant
makedepends = boost
makedepends = jdk-openjdk
makedepends = libnsl
makedepends = nauty
makedepends = ninja
makedepends = permlib
makedepends = soplex
depends = bliss
depends = cddlib
depends = e-antic
depends = flint
depends = gcc-libs
depends = glibc
depends = gmp
depends = lrs
depends = mpfr
depends = normaliz
depends = perl=5.38.0
depends = perl-json
depends = perl-term-readkey
depends = perl-term-readline-gnu
depends = perl-xml-libxml
depends = perl-xml-libxslt
depends = perl-xml-writer
depends = ppl
depends = scip
depends = singular
depends = sympol
depends = zlib
optdepends = java-runtime: java module
source = https://polymake.org/lib/exe/fetch.php/download/polymake-4.11-minimal.tar.bz2
sha256sums = 5df6f0acd700119bd0c4b5766762852ffbd857765b5dcc88802ff5d2108add23
pkgname = polymake

View file

@ -7,19 +7,46 @@
highmem=1
pkgname=polymake
pkgver=4.10
pkgver=4.11
pkgrel=1
_perlver=`perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]).".".($v->[2]);'`
pkgdesc='Open source software for research in polyhedral geometry'
arch=(x86_64)
url='https://polymake.org/'
license=(GPL)
depends=(normaliz singular ppl lrs perl-xml-writer perl-xml-libxml perl-xml-libxslt
perl-term-readline-gnu perl-term-readkey perl-json sympol scip perl=$_perlver)
makedepends=(ninja cddlib ant boost bliss libnsl jdk-openjdk permlib nauty soplex)
depends=(bliss
cddlib
e-antic
flint
gcc-libs
glibc
gmp
lrs
mpfr
normaliz
perl=$_perlver
perl-json
perl-term-readkey
perl-term-readline-gnu
perl-xml-libxml
perl-xml-libxslt
perl-xml-writer
ppl
scip
singular
sympol
zlib)
makedepends=(ant
boost
jdk-openjdk
libnsl
nauty
ninja
permlib
soplex)
optdepends=('java-runtime: java module')
source=(https://polymake.org/lib/exe/fetch.php/download/polymake-${pkgver/.r/r}-minimal.tar.bz2)
sha256sums=('6038b266d6d40bbe9955ede846dccf4417e4114faa87e775656161cd4ca2f8f8')
sha256sums=('5df6f0acd700119bd0c4b5766762852ffbd857765b5dcc88802ff5d2108add23')
prepare() {
sed -e 's|-lgmp|-lgmp -lmpfr|g' -i polymake-$pkgver/bundled/soplex/support/configure.pl # Fix soplex linking