summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-mathematics/open-axiom/Manifest3
-rw-r--r--sci-mathematics/open-axiom/open-axiom-1.4.1-r1.ebuild71
2 files changed, 74 insertions, 0 deletions
diff --git a/sci-mathematics/open-axiom/Manifest b/sci-mathematics/open-axiom/Manifest
index 99b2735..d5ec0f3 100644
--- a/sci-mathematics/open-axiom/Manifest
+++ b/sci-mathematics/open-axiom/Manifest
@@ -1,5 +1,8 @@
AUX open-axiom.png 59273 RMD160 6e5ada74de8fcac8f939320b68e1b8cbf554dbc5 SHA1 037aac8d6f21ce84615a8b48cec7f10fbe639749 SHA256 2c69fbf1f9c22bf2231c1d0d4caf750e957a7b2bd139185c70df27ffbd322e85
AUX open-axiom.xcf 188198 RMD160 d1ca7e7b3115caca158d2af28f7002560984e123 SHA1 810f5a639529972c2b321ab15c4d48a0dd5f71ad SHA256 53f5efeab237754b8526e8bcd5c2c2ef2def0773cd2cab1976fd9a60a4fe6f3d
+DIST open-axiom-1.3.0.tar.bz2 11821857 RMD160 71ab5b199ae3b4331e82f4b1a549b6e3a764784a SHA1 a9e7fb441d120fe1b4cc9b12d9cc40c868f2dc8e SHA256 5c35d0c8b6da17ff2254d833c5f6694d3f5d49064e312e61719cdeb386f888c4
DIST open-axiom-1.4.1.tar.bz2 10023493 RMD160 172f21ce6bfde933a51e0fdfdeae19617a611d1e SHA1 52a6791c31125507f33b48d4ea38e7a9c7918cb5 SHA256 552c9dbafe6ea147e13cc11be7c11363357fc1a02ce94b44faa22c035a7c1507
+EBUILD open-axiom-1.3.0.ebuild 1483 RMD160 dd09858eb5c65885eb07340d4446133f8f331eff SHA1 a951b570dd53f4dcc8ea31617e751304ec37d663 SHA256 9be599de2f6b16601c3da52d9319ab73d369d8efe65957675aaff3b76048fc7b
+EBUILD open-axiom-1.4.1-r1.ebuild 1381 RMD160 d7006a33743d14d849bf438ed89a62c1f7a58a1c SHA1 fcdb4ae8ad2713d33236d6dcd713eb54c47cb0ee SHA256 1c59ec2d7b9cccad68effce7ff6b6334bd62c98f9d4d400c64e7a3a6b454c025
EBUILD open-axiom-1.4.1.ebuild 1477 RMD160 7308e1ead5832fc099d09a90aac1b649017fab09 SHA1 6bea81092f1a2dac4b11ef751354a98415addc2c SHA256 96aa0e1df0368f68f8e07102c7374e680d0c75107bd3b16d058c8b39632f98e4
EBUILD open-axiom-9999.ebuild 1564 RMD160 fb5d78ea1a4706f6221b4c28d27b97dd4c5c2aef SHA1 1895708b6fe0a452cd1ba125494c272fc66199c2 SHA256 1956000b910fcc74b17353f857d8d668699bbddf1533e728510ba2eda05f1c4b
diff --git a/sci-mathematics/open-axiom/open-axiom-1.4.1-r1.ebuild b/sci-mathematics/open-axiom/open-axiom-1.4.1-r1.ebuild
new file mode 100644
index 0000000..55e5328
--- /dev/null
+++ b/sci-mathematics/open-axiom/open-axiom-1.4.1-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+inherit eutils
+
+DESCRIPTION="The open computer algebra system (Axiom fork)"
+HOMEPAGE="http://open-axiom.org"
+SRC_URI="http://sourceforge.net/projects/${PN}/files/${PV}/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LISPS='sbcl clisp ecls clozurecl'
+REQUIRED_USE="^^ ( $LISPS )"
+
+# The first lisp is default
+IUSE="X threads +$LISPS"
+
+
+
+RDEPEND="X? ( x11-libs/libXpm )"
+
+DEPEND="${RDEPEND}
+sbcl? ( >=dev-lisp/sbcl-1.0.22 !=dev-lisp/sbcl-1.0.29 )
+clisp? ( >=dev-lisp/clisp-1.44 )
+ecls? ( >=dev-lisp/ecls-11.1.1 )
+clozurecl? ( >=dev-lisp/clozurecl-1.3 )"
+
+
+
+src_configure() {
+ local l lisp;
+ for l in $LISPS; do
+ use $l && break;
+ done
+
+ case $l in
+ clozurecl) lisp=ccl;;
+ ecls) lisp=ecl;;
+ *) lisp=$l;;
+ esac
+
+ econf \
+ $(use_with X x) \
+ --disable-gcl \
+ --with-lisp=$lisp \
+ --with-gnu-ld \
+ $(use_enable threads threads) \
+ || die "econf failed"
+}
+
+src_compile() {
+ # Parallel make broken
+ emake -j1 || die "emake failed"
+
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc ChangeLog* NEWS README AUTHORS MAINTAINERS TODO STYLES INSTALL
+ doicon ${FILESDIR}/open-axiom.png
+ make_desktop_entry \
+ open-axiom \
+ OpenAxiom \
+ open-axiom \
+ "" \
+ "Terminal=true"
+}
+