summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-11-03 22:46:40 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-11-03 22:46:40 +0000
commit534ea0cac71caaf849d664e30840179cdd54d020 (patch)
tree37be23433847d754c21365ddae1dbcc58f98072a /sci-mathematics/ginac
parentVersion bump (diff)
downloadgentoo-2-534ea0cac71caaf849d664e30840179cdd54d020.tar.gz
gentoo-2-534ea0cac71caaf849d664e30840179cdd54d020.tar.bz2
gentoo-2-534ea0cac71caaf849d664e30840179cdd54d020.zip
Version bump, thanks Sebastian Mingramm for testing
(Portage version: 2.2_rc48/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics/ginac')
-rw-r--r--sci-mathematics/ginac/ChangeLog7
-rw-r--r--sci-mathematics/ginac/ginac-1.5.4.ebuild57
2 files changed, 63 insertions, 1 deletions
diff --git a/sci-mathematics/ginac/ChangeLog b/sci-mathematics/ginac/ChangeLog
index c6be93b45d53..2f4b3339fd92 100644
--- a/sci-mathematics/ginac/ChangeLog
+++ b/sci-mathematics/ginac/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-mathematics/ginac
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ChangeLog,v 1.34 2009/10/30 16:04:37 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ChangeLog,v 1.35 2009/11/03 22:46:40 bicatali Exp $
+
+*ginac-1.5.4 (03 Nov 2009)
+
+ 03 Nov 2009; Sébastien Fabbro <bicatali@gentoo.org> +ginac-1.5.4.ebuild:
+ Version bump, thanks Sebastian Mingramm for testing
30 Oct 2009; Sébastien Fabbro <bicatali@gentoo.org> -ginac-1.3.7.ebuild,
-ginac-1.4.3.ebuild:
diff --git a/sci-mathematics/ginac/ginac-1.5.4.ebuild b/sci-mathematics/ginac/ginac-1.5.4.ebuild
new file mode 100644
index 000000000000..b6f81bbc64a5
--- /dev/null
+++ b/sci-mathematics/ginac/ginac-1.5.4.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ginac-1.5.4.ebuild,v 1.1 2009/11/03 22:46:40 bicatali Exp $
+
+EAPI=2
+inherit eutils
+
+DESCRIPTION="C++ library and tools for symbolic calculations"
+SRC_URI="ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/${P}.tar.bz2"
+HOMEPAGE="http://www.ginac.de/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="doc"
+
+RDEPEND=">=sci-libs/cln-1.2.2"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( app-doc/doxygen
+ media-gfx/transfig
+ || ( dev-texlive/texlive-fontsrecommended
+ app-text/ptex ) )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.5.1-pkgconfig.patch
+}
+
+src_compile() {
+ emake || die "emake failed"
+ if use doc; then
+ cd "${S}/doc/reference"
+ #pdf generation for reference failed (1.5.1), bug #264774
+ #emake html pdf || die "emake doc reference failed"
+ emake html || die "emake ref failed"
+ cd "${S}/doc/tutorial"
+ emake ginac.pdf ginac.html || die "emake doc tutorial failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README NEWS AUTHORS || die
+
+ if use doc; then
+ cd doc
+ insinto /usr/share/doc/${PF}
+ newins tutorial/ginac.pdf tutorial.pdf || die "tutorial install failed"
+ #newins reference/ginac.pdf reference.pdf || die "ref install failed"
+ insinto /usr/share/doc/${PF}/html/reference
+ doins -r reference/html_files/* || die
+ insinto /usr/share/doc/${PF}/html
+ newins tutorial/ginac.html tutorial.html
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*.cpp examples/ginac-examples.txt
+ fi
+}