diff options
author | Olivier Fisette <ribosome@gentoo.org> | 2005-10-02 02:47:46 +0000 |
---|---|---|
committer | Olivier Fisette <ribosome@gentoo.org> | 2005-10-02 02:47:46 +0000 |
commit | 67a7321a3e664427076117ed55526e9b102e72de (patch) | |
tree | 590be036d8701a639317e0248a97c45b68116838 /sci-mathematics/yacas/yacas-1.0.58.ebuild | |
parent | Alpha stable. (diff) | |
download | historical-67a7321a3e664427076117ed55526e9b102e72de.tar.gz historical-67a7321a3e664427076117ed55526e9b102e72de.tar.bz2 historical-67a7321a3e664427076117ed55526e9b102e72de.zip |
New version. Ebuild clean-ups. Fixed location of help files (bug #106308).
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'sci-mathematics/yacas/yacas-1.0.58.ebuild')
-rw-r--r-- | sci-mathematics/yacas/yacas-1.0.58.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/sci-mathematics/yacas/yacas-1.0.58.ebuild b/sci-mathematics/yacas/yacas-1.0.58.ebuild new file mode 100644 index 000000000000..66c245f6b71a --- /dev/null +++ b/sci-mathematics/yacas/yacas-1.0.58.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/yacas-1.0.58.ebuild,v 1.1 2005/10/02 02:47:45 ribosome Exp $ + +inherit eutils + +IUSE="glut" + +DESCRIPTION="very powerful 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="~x86 ~ppc ~amd64" + +DEPEND="virtual/libc + >=sys-apps/sed-4 + glut? ( media-libs/glut ) + www-client/lynx" + +src_unpack() { + unpack ${A} + cd "${S}" + if ! use glut; then + sed -e 's:opengl::g' -i plugins/Makefile.in || die "sed (opengl) failed" + sed -e 's/\(^PLUGINDOCSCHAPTERS.*\)opengl.chapt\(.*\)/\1 \2/' -i \ + manmake/Makefile.in || die 'sed (manmake) failed' + fi +} + +src_compile() { + econf --with-numlib=native || die "./configure failed" + emake || die +} + +src_install() { + make DESTDIR="${D}" install-strip || die + + dodoc AUTHORS INSTALL NEWS README TODO + mv "${D}"/usr/share/${PN}/documentation "${D}"/usr/share/doc/${PF}/html + rmdir "${D}"/usr/include/ + rm "${D}"/usr/share/${PN}/include/win32* + sed -e "s|\":FindFile(\"documentation/ref.html\"):\"|localhost/usr/share/doc/${PF}/html/ref.html|" \ + -e "s|\":FindFile(\"documentation/books.html\"):\"|localhost/usr/share/doc/${PF}/html/books.html|" \ + -i "${D}"/usr/share/${PN}/yacasinit.ys || die +} |