mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-04 12:18:08 -07:00
sci-mathematics/ginac: Drop 1.6.6, EAPI5--
Bug: https://bugs.gentoo.org/766797 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST ginac-1.6.6.tar.bz2 1028211 BLAKE2B 3f939e82cfa833ee5ba6714d4db38edf80de4e380b0bcacfe23992ca3c5eefbd719506cf77f57aebc1517968eff7d26c8d24d14167c596e5e7145458367074e8 SHA512 495ef255dd32e71ee91257a515c0566e56525e0c54c8955c19beaf9e2e55457f7d8171c7e5f6e4f29f555f5d262bbaf4edf4f033166c4904c016987a5029e958
|
||||
DIST ginac-1.7.11.tar.bz2 1077491 BLAKE2B 741e9c8adfec15c225c3656b935707f86292b98310b50533269b238d1a9746bf54d186074c879fdbdd23f915dde225d9ee34fdbd87977835e8f9e78af364d77d SHA512 35a029915c946fcc10ba7b78df6fe1ece9a9f2f6bc172816a923c35f5b495154ab356526b904ac2a16a1bd6b0a81c480c5abb39ef40238ca7b32d1acbf97276c
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="C++ library and tools for symbolic calculations"
|
||||
SRC_URI="http://www.ginac.de/${P}.tar.bz2"
|
||||
HOMEPAGE="https://www.ginac.de/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
RDEPEND=">=sci-libs/cln-1.2.2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen
|
||||
media-gfx/transfig
|
||||
virtual/texi2dvi
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
)"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-1.5.1-pkgconfig.patch )
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=( --disable-rpath )
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
if use doc; then
|
||||
export VARTEXFONTS="${T}"/fonts
|
||||
cd "${BUILD_DIR}/doc/reference"
|
||||
emake html pdf
|
||||
cd "${BUILD_DIR}/doc/tutorial"
|
||||
emake ginac.pdf ginac.html
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
if use doc; then
|
||||
cd "${BUILD_DIR}"/doc
|
||||
insinto /usr/share/doc/${PF}
|
||||
newins tutorial/ginac.pdf tutorial.pdf
|
||||
newins reference/reference.pdf reference.pdf
|
||||
insinto /usr/share/doc/${PF}/html/reference
|
||||
doins -r reference/html_files/*
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
newins tutorial/ginac.html tutorial.html
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins "${S}"/doc/examples/*.cpp examples/ginac-examples.*
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user