diff options
Diffstat (limited to 'app-emacs/imaxima/imaxima-0.99.ebuild')
-rw-r--r-- | app-emacs/imaxima/imaxima-0.99.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/app-emacs/imaxima/imaxima-0.99.ebuild b/app-emacs/imaxima/imaxima-0.99.ebuild new file mode 100644 index 000000000000..e0132d78d112 --- /dev/null +++ b/app-emacs/imaxima/imaxima-0.99.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/imaxima/imaxima-0.99.ebuild,v 1.1 2008/02/22 14:06:56 ulm Exp $ + +inherit elisp + +MY_P="${PN}-imath-${PV}" +DESCRIPTION="Imaxima enables graphical output in Maxima sessions with emacs" +HOMEPAGE="http://members3.jcom.home.ne.jp/imaxima/Site/Welcome.html" +SRC_URI="http://members3.jcom.home.ne.jp/imaxima/Site/Download_and_Install_files/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc" +IUSE="" + +DEPEND="" +RDEPEND="virtual/latex-base + virtual/ghostscript + || ( >=dev-tex/breqn-0.94 app-text/texlive ) + >=sci-mathematics/maxima-5.13.0" + +SITEFILE=50${PN}-gentoo.el +S="${WORKDIR}/${MY_P}" + +src_compile() { + econf --with-lispdir="${SITELISP}/${PN}" || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + elisp-site-file-install "${FILESDIR}/${SITEFILE}" \ + || die "elisp-site-file-install failed" + dodoc ChangeLog NEWS README || die + docinto imath-example + dodoc imath-example/*.txt || die +} |