diff options
Diffstat (limited to 'sci-mathematics/mathomatic/mathomatic-15.0.8.ebuild')
-rw-r--r-- | sci-mathematics/mathomatic/mathomatic-15.0.8.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/sci-mathematics/mathomatic/mathomatic-15.0.8.ebuild b/sci-mathematics/mathomatic/mathomatic-15.0.8.ebuild new file mode 100644 index 000000000000..f8fa1253151a --- /dev/null +++ b/sci-mathematics/mathomatic/mathomatic-15.0.8.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mathomatic/mathomatic-15.0.8.ebuild,v 1.1 2010/05/14 04:15:52 bicatali Exp $ + +inherit eutils + +DESCRIPTION="Automatic algebraic manipulator" +HOMEPAGE="http://www.mathomatic.com/math/" +SRC_URI="http://www.panix.com/~gesslein/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc gnuplot" + +DEPEND="sys-libs/readline + sys-libs/ncurses" +RDEPEND="${DEPEND} + gnuplot? ( sci-visualization/gnuplot )" + +src_compile() { + emake READLINE=1 OPTFLAGS="" || die "emake failed" + emake OPTFLAGS="" -C primes || die "emake in primes failed" +} + +src_test() { + emake test || die "emake test failed" + emake -C primes test || die "emake test in primes failed" +} + +src_install() { + dobin primes/matho-{mult,primes,pascal,sumsq} primes/primorial || die + dodoc changes.txt README.txt AUTHORS + doman mathomatic.1 primes/*.1 || die + doicon icons/mathomatic.png || die + domenu icons/mathomatic.desktop || die + newdoc primes/README.txt README-primes.txt || die + if use doc; then + dohtml doc/* || die + insinto /usr/share/doc/${PF} + doins -r tests factorial m4 || die + fi +} |