commit:     412b5118c567f0ecf50138e52dc6e460480d454e
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May  1 04:06:41 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun May  1 04:14:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=412b5118

sci-libs/saclib: add 2.2.8_p20220501

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sci-libs/saclib/Manifest                      |  1 +
 sci-libs/saclib/saclib-2.2.8_p20220501.ebuild | 42 +++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/sci-libs/saclib/Manifest b/sci-libs/saclib/Manifest
index 50550d1d4..089489a6a 100644
--- a/sci-libs/saclib/Manifest
+++ b/sci-libs/saclib/Manifest
@@ -1 +1,2 @@
+DIST saclib-2.2.8_p20220501.tar.gz 2494609 BLAKE2B 
b68bf17645294d6575e4b5412c69ae658a1b2694b4144d69bb516080ee5ae1d92fb6a1400f4fe7422d79c8ee0a96206709e7fca841aa319523e724eacd73d063
 SHA512 
d5e61150136f1519bcdf2dbe35160f5381e8e8da1a3049847737aa946ca71e1958277d7b8120a2c764cdb8aeb98faece16094695fabe45efbcd17c14ad1b6253
 DIST saclib2.2.8.tgz 3060308 BLAKE2B 
446546e02e3571bc523bd7602894f161d3c569ddd2126dd596125b7623a20bd44df2d04d062ec3891d2f4c4dadf1a63c9ab840316a47c68ff86ff9d841b9da35
 SHA512 
72589e07beed5abd2fce7a37c4e91122814d6b0fb373b19664c4892a4a68064bacbe886d76ec66c18aec76e54ae022b90a0dfd1b5ca68d617f4bfa8251ea8fb4

diff --git a/sci-libs/saclib/saclib-2.2.8_p20220501.ebuild 
b/sci-libs/saclib/saclib-2.2.8_p20220501.ebuild
new file mode 100644
index 000000000..1a4c79f56
--- /dev/null
+++ b/sci-libs/saclib/saclib-2.2.8_p20220501.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+COMMIT="94ca9329bcb3ddbf99f34fe6417c3f76ea44248e"
+
+DESCRIPTION="Reference implementations of algorithms and forms the basis of 
QEPCAD"
+HOMEPAGE="
+       https://www.usna.edu/Users/cs/wcbrown/qepcad/B/QEPCAD.html
+       https://github.com/Alessandro-Barbieri/saclib
+"
+SRC_URI="https://github.com/Alessandro-Barbieri/${PN}/archive/${COMMIT}.tar.gz 
-> ${PF}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="app-shells/tcsh"
+
+DOCS=( doc/saclib.pdf doc/saclocal.dvi README CHANGELOG )
+
+src_prepare() {
+       # no main, it's a library
+       rm src/main.c || die
+       cmake_src_prepare
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DSACLIB_DOC=OFF
+       )
+       cmake_src_configure
+}
+
+src_install() {
+       einstalldocs
+       cmake_src_install
+}

Reply via email to