diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2011-11-25 17:58:04 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2011-11-25 17:58:04 +0000 |
commit | 3b2ae31f027ba8ac7a0591efb05f9b9197ca0bdf (patch) | |
tree | cbccbe06f2982ecbf43220f1af126d3bf10aa006 /sci-mathematics | |
parent | version bump (bug #391835) (diff) | |
download | gentoo-2-3b2ae31f027ba8ac7a0591efb05f9b9197ca0bdf.tar.gz gentoo-2-3b2ae31f027ba8ac7a0591efb05f9b9197ca0bdf.tar.bz2 gentoo-2-3b2ae31f027ba8ac7a0591efb05f9b9197ca0bdf.zip |
Version bump
(Portage version: 2.1.10.37/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/yacas/ChangeLog | 7 | ||||
-rw-r--r-- | sci-mathematics/yacas/yacas-1.3.1.ebuild | 53 |
2 files changed, 59 insertions, 1 deletions
diff --git a/sci-mathematics/yacas/ChangeLog b/sci-mathematics/yacas/ChangeLog index 771beb6581b6..51657529df87 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.29 2011/07/28 20:18:54 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/ChangeLog,v 1.30 2011/11/25 17:58:04 bicatali Exp $ + +*yacas-1.3.1 (25 Nov 2011) + + 25 Nov 2011; Sébastien Fabbro <bicatali@gentoo.org> +yacas-1.3.1.ebuild: + Version bump 28 Jul 2011; Sébastien Fabbro <bicatali@gentoo.org> yacas-1.2.2-r1.ebuild, +files/yacas-1.2.2-tests.patch: diff --git a/sci-mathematics/yacas/yacas-1.3.1.ebuild b/sci-mathematics/yacas/yacas-1.3.1.ebuild new file mode 100644 index 000000000000..931856cf6829 --- /dev/null +++ b/sci-mathematics/yacas/yacas-1.3.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/yacas-1.3.1.ebuild,v 1.1 2011/11/25 17:58:04 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 +} |