# ChangeLog for sci-mathematics/yacas
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/ChangeLog,v 1.4 2005/01/14 17:05:53 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/ChangeLog,v 1.5 2005/10/02 02:47:45 ribosome Exp $
+
+*yacas-1.0.58 (02 Oct 2005)
+
+ 02 Oct 2005; Olivier Fisette <ribosome@gentoo.org> yacas-1.0.56.ebuild,
+ yacas-1.0.57.ebuild, +yacas-1.0.58.ebuild:
+ New version. Ebuild clean-ups. Fixed location of help files (bug #106308).
*yacas-1.0.57 (14 Jan 2005)
-MD5 2776d31ce8877df278bdb7ae2924dfac yacas-1.0.57.ebuild 1164
-MD5 20a61dc92ddb7f0745c4bdb15abb999f yacas-1.0.56.ebuild 1337
-MD5 f6a0d8a4a6012482cdc93c69f3910350 ChangeLog 2452
+MD5 1be4437420e7596162d8f8eed6212119 yacas-1.0.57.ebuild 1445
+MD5 5d5cdc9104e23720c296277ed1212723 yacas-1.0.56.ebuild 1606
+MD5 b30503ab4331ba2b3f931f7a528b9272 yacas-1.0.58.ebuild 1411
+MD5 b40075e54074bf385478939de86c5348 ChangeLog 2678
MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
MD5 5c748030f6e6f803d4e272ce57a31361 files/digest-yacas-1.0.56 130
MD5 e222e9a7debd7c3e79ee700005276c93 files/digest-yacas-1.0.57 65
+MD5 7a24f28d999fff717cf52796702c816d files/digest-yacas-1.0.58 65
MD5 b49a5413d88ccb8242bc01dedb22afd0 files/opengl-gcc3.4.patch 227
MD5 3edf1638789f8529fb17f44a33907e47 files/1.0.57.patch 1955
--- /dev/null
+MD5 fd7fa942789fdac8fa363e555c86cae9 yacas-1.0.58.tar.gz 2089209
# 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.56.ebuild,v 1.2 2005/01/14 09:12:36 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/yacas-1.0.56.ebuild,v 1.3 2005/10/02 02:47:45 ribosome Exp $
inherit eutils
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${WORKDIR}/${P}.patch
- epatch ${FILESDIR}/opengl-gcc3.4.patch
+ cd "${S}"
+ epatch "${WORKDIR}"/${P}.patch
+ epatch "${FILESDIR}"/opengl-gcc3.4.patch
}
src_compile() {
find -name Makefile |xargs sed -i -e "s:datadir = /usr/share:datadir = ${D}/usr/share:"
cd manmake
sed -i -e "s:htmldir = :htmldir = ${D}:" -e "s:psdir = :psdir = ${D}:" Makefile
- cd ${S}
+ cd "${S}"
- DESTDIR=${D} make install-strip || die
+ DESTDIR="${D}" make 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/
+ mv "${D}"/usr/share/${PN}/documentation "${D}"/usr/share/doc/${PF}/html
+ rmdir "${D}"/usr/include/
+ 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
}
# 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.57.ebuild,v 1.1 2005/01/14 17:05:53 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/yacas-1.0.57.ebuild,v 1.2 2005/10/02 02:47:45 ribosome Exp $
inherit eutils
DEPEND="virtual/libc
>=sys-apps/sed-4
- glut? ( media-libs/glut )"
-
+ glut? ( media-libs/glut )
+ www-client/lynx"
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${PV}.patch
+ cd "${S}"
+ epatch "${FILESDIR}"/${PV}.patch
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 \
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*
+ 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
}
--- /dev/null
+# 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
+}