sci-libs/saclib: add 2.2.8_p20220501

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-05-01 06:06:41 +02:00
parent 242269b165
commit 412b5118c5
2 changed files with 43 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}