summaryrefslogtreecommitdiff
path: root/sci-mathematics/ginac
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/ginac')
-rw-r--r--sci-mathematics/ginac/Manifest8
-rw-r--r--sci-mathematics/ginac/files/ginac-1.5.1-pkgconfig.patch9
-rw-r--r--sci-mathematics/ginac/ginac-1.6.6.ebuild58
-rw-r--r--sci-mathematics/ginac/ginac-1.7.2.ebuild65
-rw-r--r--sci-mathematics/ginac/metadata.xml16
5 files changed, 156 insertions, 0 deletions
diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest
new file mode 100644
index 000000000000..ac75ebecfe97
--- /dev/null
+++ b/sci-mathematics/ginac/Manifest
@@ -0,0 +1,8 @@
+AUX ginac-1.5.1-pkgconfig.patch 340 SHA256 bd1a63b67f1c1786e537992b50b9bb376a14be54971bd0ac8912a584f7f802d8 SHA512 b88c7ef69686733a3e817d9d4961246eb64aebf753b51bf8f6ea5c6fdfef41e52b6a20656e074f0bcc42dfe7965a440642d9036628a139f2c87bbde5f59d76d1 WHIRLPOOL b0f8c2f7f6971934a3abf9e2a1790a7c4e4a1cd08fecb2eeb0d3ab7ba0334834479e35083c4a59bdfc2de4e231bafaa5e924b3d2f2f77c9b0c4063deb1fb0f3d
+DIST ginac-1.6.6.tar.bz2 1028211 SHA256 25ec6d535ee77caf6161843688489cfc319b6c4fda46c5d7878587ee5562ddce SHA512 495ef255dd32e71ee91257a515c0566e56525e0c54c8955c19beaf9e2e55457f7d8171c7e5f6e4f29f555f5d262bbaf4edf4f033166c4904c016987a5029e958 WHIRLPOOL c4efc7286377da939ad8196b898086bb67b63102b23c703d3b5fc462be108fc96883597dea50297ec4a26d5bd19f15af8b01c36782c6e6a1886c284cf19771fc
+DIST ginac-1.7.2.tar.bz2 1056339 SHA256 24b75b61c5cb272534e35b3f2cfd64f053b28aee7402af4b0e569ec4de21d8b7 SHA512 5c356beb8e0830b9f5805870f67298d4c19e512db8b8f46a37b490c19179a5c99e4497439e5adb575dd97e7deb5fe0b931a4b6db80e98a8e1e6f46977e33d8cf WHIRLPOOL 7f913725b078dc63bf9dd335b17b813d3e4ee36f21eb932f27d06fbff69feb308d719a4432a3ce6fdd9b84e3d478b523c1a7149fa874ad92106962480a597f0d
+EBUILD ginac-1.6.6.ebuild 1399 SHA256 ae4df1202f3aabd2edda8bff2809d17b07e237df8d1caeda95c8add093560b54 SHA512 31c59064921777d53910155484aa0c21260d4a1ad80d3747356ca05a0c870d1b9a69f21ad114f766336c350a1ccb6c3526cc79b2e28b7093e89b1a37e9e9af81 WHIRLPOOL 14d5e4e1c0771a106e9e5cef0478f3df5e8209c071f8b10a818f8e78bddacaa58ff601d4721551f4ad41985a5e429c77da961dad59dff78698c69f5eb48758f7
+EBUILD ginac-1.7.2.ebuild 1524 SHA256 4e9a3dcc06cdb4d1f4e115b93a2a04b15969471ff80168d3e5233407d32168f4 SHA512 aad536ef6e61f981f2be144f1f4131a98d77730845266daba5d57cadf176e5b78eedb862cf2b8a5ae4708b4ac1cdcc763f7e181ad473022f3363d4e5ba9b43de WHIRLPOOL b32cab58dc558e4a6c9ee09811b267f0930901e4170a402b8760f1b933733efe348b4a2c75f8ccb8941f9e40b3c293a9828f8559871658283797d2a2575f9b19
+MISC ChangeLog 3397 SHA256 ad13627533db977914d6f2fb3cd71b200435e09daaff008200738a430e95a19e SHA512 04ed1bf98d9edef4848205391b7989c036b02f170d9a57b9f9bcf8c24a541c060d7e53efb256ccab9c44a458bc660edc43ecf10580aa2bf536b58b424ea6f36d WHIRLPOOL ed15f4f4d1b36f9594d0a985bf3930c7ea6f641bc841873a0637d90fc9a8308095ac52f9be2afc6e2086bed94f996322c26228d1685d87dc124f5bc0498343a6
+MISC ChangeLog-2015 9038 SHA256 ca492c873ef8f7b9b7c4d420dbf8d9d2066882d6fc9f610b62722c5e43e5ae8e SHA512 39a1b3d98fd3f01c898fc9b532f563bec6e8ce1e2f5f3ca0ff61ca898382d85981ab5351f925b93626871e57be6b2dc4b28dbdb5d6d5e1c959b8fbf50809789f WHIRLPOOL c5e2cd00930ae25567b856524b1e97ceca78ba360eaf5bd3d20cdc268f6c0e239f5038e254c6d5477b4632b279234a43f89d6b0e3f8f373ec6ba713f3f556b54
+MISC metadata.xml 679 SHA256 db54d9352104db057b0902caeb93158f82e1f67669ab22c755db5726c4802310 SHA512 d6034309f9f5959615287773a58e3f87be9664da83c1ec17b701454224fd7e1806deb21717144ca7845615ffb13dc59bfae7f77fefc589f19bee9c10655e8e5d WHIRLPOOL b8500aec2f6e2827bc913262d33072180708e0fb47dca546878d136a07025ecd5944b0ea6ec5848a85c7343e077d3260fcc7c5fdb5f3779c05a6b9f8e4af3842
diff --git a/sci-mathematics/ginac/files/ginac-1.5.1-pkgconfig.patch b/sci-mathematics/ginac/files/ginac-1.5.1-pkgconfig.patch
new file mode 100644
index 000000000000..5a6784d6b802
--- /dev/null
+++ b/sci-mathematics/ginac/files/ginac-1.5.1-pkgconfig.patch
@@ -0,0 +1,9 @@
+--- ginac-1.4.4.org/ginac.pc.in 2009-03-16 21:17:22.000000000 +0530
++++ ginac-1.4.4/ginac.pc.in 2009-03-16 21:25:28.000000000 +0530
+@@ -7,5 +7,5 @@
+ Description: C++ library for symbolic calculations
+ Version: @VERSION@
+ Requires: cln >= 1.1.6
+-Libs: -L${libdir} -lginac @GINACLIB_RPATH@
++Libs: -L${libdir} -lginac
+ Cflags: -I${includedir}
diff --git a/sci-mathematics/ginac/ginac-1.6.6.ebuild b/sci-mathematics/ginac/ginac-1.6.6.ebuild
new file mode 100644
index 000000000000..fc61631e2feb
--- /dev/null
+++ b/sci-mathematics/ginac/ginac-1.6.6.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2016 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="http://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
+}
diff --git a/sci-mathematics/ginac/ginac-1.7.2.ebuild b/sci-mathematics/ginac/ginac-1.7.2.ebuild
new file mode 100644
index 000000000000..29e2114ed722
--- /dev/null
+++ b/sci-mathematics/ginac/ginac-1.7.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools-utils flag-o-matic
+
+DESCRIPTION="C++ library and tools for symbolic calculations"
+SRC_URI="http://www.ginac.de/${P}.tar.bz2"
+HOMEPAGE="http://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 )
+ append-cxxflags -std=c++11
+ 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_test() {
+ pushd ../${P}_build > /dev/null
+ emake check
+ popd > /dev/null
+}
+
+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
+}
diff --git a/sci-mathematics/ginac/metadata.xml b/sci-mathematics/ginac/metadata.xml
new file mode 100644
index 000000000000..2362ddf77046
--- /dev/null
+++ b/sci-mathematics/ginac/metadata.xml
@@ -0,0 +1,16 @@
+<?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 lang="en">
+ GiNaC is an iterated and recursive acronym for GiNaC is Not a CAS,
+ where CAS stands for Computer Algebra System. It is designed to allow
+ the creation of integrated systems that embed symbolic manipulations
+ together with more established areas of computer science (like
+ computation-intense numeric applications, graphical interfaces, etc.)
+ under one roof.
+</longdescription>
+</pkgmetadata>