aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-05-01 06:14:10 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-05-01 06:14:33 +0200
commitc8f24b753f0a1a080137031f23e4263c52183787 (patch)
tree64fed3927ce3175efa19d82ecb59c7a0ab53f7fd /sci-mathematics
parentsci-libs/saclib: add 2.2.8_p20220501 (diff)
downloadguru-c8f24b753f0a1a080137031f23e4263c52183787.tar.gz
guru-c8f24b753f0a1a080137031f23e4263c52183787.tar.bz2
guru-c8f24b753f0a1a080137031f23e4263c52183787.zip
sci-mathematics/qepcad: new package, add 1.72b_p20220501
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/qepcad/Manifest1
-rw-r--r--sci-mathematics/qepcad/metadata.xml20
-rw-r--r--sci-mathematics/qepcad/qepcad-1.72b_p20220501.ebuild52
3 files changed, 73 insertions, 0 deletions
diff --git a/sci-mathematics/qepcad/Manifest b/sci-mathematics/qepcad/Manifest
new file mode 100644
index 000000000..1eb766c64
--- /dev/null
+++ b/sci-mathematics/qepcad/Manifest
@@ -0,0 +1 @@
+DIST qepcad-1.72b_p20220501.tar.gz 178489856 BLAKE2B 79277f484c0011b3c871fc06b20ce344e770591bd74204d20c9c844933140d14c72663660ea29aaf21de7fe920a5e4bd6a0b94d95e1b28279e7b4fc36ae46228 SHA512 9210bd519bf6e61d746e4a582c48ca6b337b415ad3996af008702dec362e885905c8eda6db3b88f8befb464bc30fcdfa2b5dc3c6e16bd19e3ef3bba054e5846c
diff --git a/sci-mathematics/qepcad/metadata.xml b/sci-mathematics/qepcad/metadata.xml
new file mode 100644
index 000000000..21f5c704e
--- /dev/null
+++ b/sci-mathematics/qepcad/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <email>wcbrown@usna.edu</email>
+ <name>Chris Brown</name>
+ </maintainer>
+ </upstream>
+ <longdescription lang="en">
+The Program
+QEPCAD is an implementation of quantifier elimination by partial cylindrical algebraic decomposition due orginally to Hoon Hong, and subsequently added on to by many others. It is an interactive command-line program written in C/C++, and based on the SACLIB library. Presented here is QEPCAD B version 1.x, the "B" designating a substantial departure from the original QEPCAD and distinguishing it from any development of the original that may proceed in a different direction. QEPCAD and the SACLIB library are the result of a program of research by George Collins and his PhD students that has spanned several decades ... and continues still!
+
+I extended and improved QEPCAD for several years. Improvements that didn't involve changes to the way the program interacted with the user I'd just go ahead and make. However, changes that affected the interaction of QEPCAD and the user, or changes that added new features were "tacked on" to the program, requiring the user to know about extra commands. Moreover, there was no cannonical source for QEPCAD distribution or documentation, and no internet accessible source at all. This branch of QEPCAD, QEPCAD "B", was introduced to address those problems - to make QEPCAD easily accessable through the internet, to provide good documentation, and to incorporate many improvements and extensions in a way that makes them most accessible to the user.
+ </longdescription>
+</pkgmetadata>
diff --git a/sci-mathematics/qepcad/qepcad-1.72b_p20220501.ebuild b/sci-mathematics/qepcad/qepcad-1.72b_p20220501.ebuild
new file mode 100644
index 000000000..068eabfbd
--- /dev/null
+++ b/sci-mathematics/qepcad/qepcad-1.72b_p20220501.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2028 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+COMMIT="3c01c088e6b54e89f382bce56d49733a9969ef09"
+
+inherit cmake optfeature
+
+DESCRIPTION="Quantifier Elimination by Partial Cylindrical Algebraic Decomposition"
+HOMEPAGE="
+ https://www.usna.edu/Users/cs/wcbrown/qepcad/B/QEPCAD.html
+ https://github.com/Alessandro-Barbieri/qepcad
+"
+SRC_URI="https://github.com/Alessandro-Barbieri/${PN}/archive/${COMMIT}.tar.gz -> ${PF}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}/qesource"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ media-libs/freeglut
+ media-libs/glu
+ media-libs/libglvnd
+ sci-libs/saclib:=
+ sys-libs/readline
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( README LOG )
+
+src_configure() {
+ export qe="${S}"
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ einstalldocs
+ cmake_src_install
+ docinto cad2d
+ dodoc cad2d/README
+ echo "qe=/" > 99-qepcad || die
+ doenvd 99-qepcad
+}
+
+pkg_postinst() {
+ optfeature "allowing qepcad to use singular" sci-mathematics/singular
+}