summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2021-12-28 15:44:24 +0100
committerMaciej Barć <xgqt@gentoo.org>2021-12-28 15:46:16 +0100
commitfc6bcf4e287ef662105a629a9d69de4e4f15e0b9 (patch)
tree6bfecc636cb06995c5bf45114b6b69ccf2713e72 /sci-mathematics/cadical
parentnet-libs/libmicrohttpd: update to 0.9.75 (diff)
downloadgentoo-fc6bcf4e287ef662105a629a9d69de4e4f15e0b9.tar.gz
gentoo-fc6bcf4e287ef662105a629a9d69de4e4f15e0b9.tar.bz2
gentoo-fc6bcf4e287ef662105a629a9d69de4e4f15e0b9.zip
sci-mathematics/cadical: new package; add version 1.5.2
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'sci-mathematics/cadical')
-rw-r--r--sci-mathematics/cadical/Manifest1
-rw-r--r--sci-mathematics/cadical/cadical-1.5.2.ebuild29
-rw-r--r--sci-mathematics/cadical/metadata.xml17
3 files changed, 47 insertions, 0 deletions
diff --git a/sci-mathematics/cadical/Manifest b/sci-mathematics/cadical/Manifest
new file mode 100644
index 000000000000..f3ef6cd607bc
--- /dev/null
+++ b/sci-mathematics/cadical/Manifest
@@ -0,0 +1 @@
+DIST cadical-1.5.2.tar.gz 596334 BLAKE2B 2e6c0f0602b807cf9ee5993aa627e074291b0128d19474d5431e01992d66b111773e593c14712338e9702f64e23eae6fdd937b5b86b2b9b3e08022dbbb199fd7 SHA512 1aab87bdaec938eb219f75f13bf2fcb031f47ac1f49b586f769aeececd1c33b166341bef3bc8713e62b4612a91c405db33e6d1b48e1074a3433d80e9ecb33fe2
diff --git a/sci-mathematics/cadical/cadical-1.5.2.ebuild b/sci-mathematics/cadical/cadical-1.5.2.ebuild
new file mode 100644
index 000000000000..d79ad9ed0845
--- /dev/null
+++ b/sci-mathematics/cadical/cadical-1.5.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Simplified Satisfiability Solver"
+HOMEPAGE="http://fmv.jku.at/cadical/"
+SRC_URI="https://github.com/arminbiere/${PN}/archive/rel-${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-rel-${PV}"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+
+DOCS=( BUILD.md CONTRIBUTING NEWS.md README.md VERSION )
+
+src_configure() {
+ CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS} ${LDFLAGS}" ./configure || die
+}
+
+src_install() {
+ dobin build/{cadical,mobical}
+ dolib.a build/libcadical.a
+ doheader src/cadical.hpp
+
+ einstalldocs
+}
diff --git a/sci-mathematics/cadical/metadata.xml b/sci-mathematics/cadical/metadata.xml
new file mode 100644
index 000000000000..c3c09f27203e
--- /dev/null
+++ b/sci-mathematics/cadical/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci-mathematics@gentoo.org</email>
+ <name>Gentoo Mathematics Project</name>
+ </maintainer>
+ <longdescription>
+ The goal of CaDiCaL is to provide a clean and efficient state-of-the-art
+ CDCL solver, which is also easy to understand and change.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/arminbiere/cadical/issues/</bugs-to>
+ <remote-id type="github">arminbiere/cadical</remote-id>
+ </upstream>
+</pkgmetadata>