summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-03-02 05:59:05 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-03-02 05:59:05 +0000
commit72f91446f51f42a52b6d318638a9049db5dae1bf (patch)
treee8bdf7282c83692a6eea00ea51f35a5cfc307c0d /sci-mathematics/yacas
parentRemove old. (diff)
downloadhistorical-72f91446f51f42a52b6d318638a9049db5dae1bf.tar.gz
historical-72f91446f51f42a52b6d318638a9049db5dae1bf.tar.bz2
historical-72f91446f51f42a52b6d318638a9049db5dae1bf.zip
Version bump
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'sci-mathematics/yacas')
-rw-r--r--sci-mathematics/yacas/ChangeLog9
-rw-r--r--sci-mathematics/yacas/yacas-1.3.2.ebuild53
2 files changed, 60 insertions, 2 deletions
diff --git a/sci-mathematics/yacas/ChangeLog b/sci-mathematics/yacas/ChangeLog
index 51657529df87..4afb95175cbc 100644
--- a/sci-mathematics/yacas/ChangeLog
+++ b/sci-mathematics/yacas/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-mathematics/yacas
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/ChangeLog,v 1.30 2011/11/25 17:58:04 bicatali Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/ChangeLog,v 1.31 2012/03/02 05:59:05 bicatali Exp $
+
+*yacas-1.3.2 (02 Mar 2012)
+
+ 02 Mar 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> +yacas-1.3.2.ebuild:
+ Version bump
*yacas-1.3.1 (25 Nov 2011)
diff --git a/sci-mathematics/yacas/yacas-1.3.2.ebuild b/sci-mathematics/yacas/yacas-1.3.2.ebuild
new file mode 100644
index 000000000000..6935fbe264e2
--- /dev/null
+++ b/sci-mathematics/yacas/yacas-1.3.2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/yacas-1.3.2.ebuild,v 1.1 2012/03/02 05:59:05 bicatali Exp $
+
+EAPI="4"
+
+inherit eutils java-pkg-opt-2 autotools
+
+DESCRIPTION="General purpose computer algebra system"
+HOMEPAGE="http://yacas.sourceforge.net/"
+SRC_URI="http://${PN}.sourceforge.net/backups/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE="doc java server"
+
+DEPEND="java? ( >=virtual/jdk-1.6 )"
+RDEPEND="java? ( >=virtual/jre-1.6 )"
+
+psrc_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.2.2-tests.patch
+ # needs to rebuild because tests include file modify Makefile.am
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable doc html-doc) \
+ $(use_enable server) \
+ --with-html-dir="/usr/share/doc/${PF}/html"
+}
+
+src_compile() {
+ default
+ if use java; then
+ cd JavaYacas || die
+ # -j1 because of file generation dependence
+ emake -j1 -f makefile.yacas
+ fi
+}
+
+src_install() {
+ default
+ if use java; then
+ cd JavaYacas || die
+ java-pkg_dojar yacas.jar
+ java-pkg_dolauncher jyacas --main net.sf.yacas.YacasConsole
+ insinto /usr/share/${PN}
+ doins hints.txt yacasconsole.html
+ fi
+}