commit:     fc6bcf4e287ef662105a629a9d69de4e4f15e0b9
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 28 14:44:24 2021 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Dec 28 14:46:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc6bcf4e

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 <AT> gentoo.org>

 sci-mathematics/cadical/Manifest             |  1 +
 sci-mathematics/cadical/cadical-1.5.2.ebuild | 29 ++++++++++++++++++++++++++++
 sci-mathematics/cadical/metadata.xml         | 17 ++++++++++++++++
 3 files changed, 47 insertions(+)

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>[email protected]</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>

Reply via email to