From cce676ad199e0d465a9faeb9ec52b59d80ea9dba Mon Sep 17 00:00:00 2001 From: Olivier Fisette Date: Tue, 28 Dec 2004 15:19:17 +0000 Subject: [PATCH] Moved from app-sci/yacas to sci-mathematics/yacas. --- sci-mathematics/yacas/ChangeLog | 48 +++++++++++++++++ sci-mathematics/yacas/Manifest | 4 ++ .../yacas/files/digest-yacas-1.0.56 | 2 + sci-mathematics/yacas/metadata.xml | 5 ++ sci-mathematics/yacas/yacas-1.0.56.ebuild | 51 +++++++++++++++++++ 5 files changed, 110 insertions(+) create mode 100644 sci-mathematics/yacas/ChangeLog create mode 100644 sci-mathematics/yacas/Manifest create mode 100644 sci-mathematics/yacas/files/digest-yacas-1.0.56 create mode 100644 sci-mathematics/yacas/metadata.xml create mode 100644 sci-mathematics/yacas/yacas-1.0.56.ebuild diff --git a/sci-mathematics/yacas/ChangeLog b/sci-mathematics/yacas/ChangeLog new file mode 100644 index 000000000000..833168ec04fb --- /dev/null +++ b/sci-mathematics/yacas/ChangeLog @@ -0,0 +1,48 @@ +# ChangeLog for app-sci/yacas +# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/ChangeLog,v 1.1 2004/12/28 15:19:17 ribosome Exp $ + +*yacas-1.0.56 (28 Dec 2004) + + 28 Dec 2004; Olivier Fisette +metadata.xml, + +yacas-1.0.56.ebuild: + Moved from app-sci/yacas to sci-mathematics/yacas. + + 18 Dec 2004; Simon Stelling yacas-1.0.56.ebuild: + added ~amd64 + + 29 Nov 2004; Patrick Kursawe -files/obsolete_cpp.patch: + Updated the patch for obsolete C++ stuff to work for gcc 3.4.3. + Patch moved to mirror system because of its size. + + 06 Sep 2004; Patrick Kursawe -yacas-1.0.54.ebuild, + -yacas-1.0.55.ebuild, yacas-1.0.56.ebuild: + Declaring .56 stable, removing older versions. + + 01 Jul 2004; Jeremy Huddleston yacas-1.0.54.ebuild, + yacas-1.0.55.ebuild, yacas-1.0.56.ebuild: + virtual/glibc -> virtual/libc + + 20 Apr 2004; David Holm yacas-1.0.56.ebuild: + Added to ~ppc. + +*yacas-1.0.56 (19 Apr 2004) + + 19 Apr 2004; Patrick Kursawe yacas-1.0.56.ebuild, + files/obsolete_cpp.patch: + Version bump, patch for some c++ problems + +*yacas-1.0.55 (09 Jul 2003) + + 09 Jul 2003; George Shapovalov yacas-1.0.55.ebuild : + version update, made 1.0.54 stable + + 10 Jun 2003; yacas-1.0.54.ebuild: + DEPEND on sed >= 4 + +*yacas-1.0.54 (17 Apr 2003) + + 17 Apr 2003; George Shapovalov yacas-1.0.54.ebuild, files/digest-yacas-1.0.54 : + initial release (#3790) + YACAS is a very powerful, general purpose Computer Algebra System. + ebuild submitted by Tobias Florek diff --git a/sci-mathematics/yacas/Manifest b/sci-mathematics/yacas/Manifest new file mode 100644 index 000000000000..7804ff57558e --- /dev/null +++ b/sci-mathematics/yacas/Manifest @@ -0,0 +1,4 @@ +MD5 bf447abbdf41739561f07b4c04d0bb6e ChangeLog 1570 +MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 +MD5 4019b2f736a3cb190e32dcd4ef8291b1 yacas-1.0.56.ebuild 1286 +MD5 5c748030f6e6f803d4e272ce57a31361 files/digest-yacas-1.0.56 130 diff --git a/sci-mathematics/yacas/files/digest-yacas-1.0.56 b/sci-mathematics/yacas/files/digest-yacas-1.0.56 new file mode 100644 index 000000000000..3e35c127116a --- /dev/null +++ b/sci-mathematics/yacas/files/digest-yacas-1.0.56 @@ -0,0 +1,2 @@ +MD5 cde348f0a4274e1f487b7483003cf119 yacas-1.0.56.tar.gz 1931182 +MD5 4f5a753ece3c7a8d57fa8c8f795200ae yacas-1.0.56.patch.bz2 5066 diff --git a/sci-mathematics/yacas/metadata.xml b/sci-mathematics/yacas/metadata.xml new file mode 100644 index 000000000000..b229aec85b8f --- /dev/null +++ b/sci-mathematics/yacas/metadata.xml @@ -0,0 +1,5 @@ + + + +sci + diff --git a/sci-mathematics/yacas/yacas-1.0.56.ebuild b/sci-mathematics/yacas/yacas-1.0.56.ebuild new file mode 100644 index 000000000000..0ce545bb9a66 --- /dev/null +++ b/sci-mathematics/yacas/yacas-1.0.56.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2004 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.1 2004/12/28 15:19:17 ribosome Exp $ + +inherit eutils + +IUSE="gmp" + +DESCRIPTION="very powerful general purpose Computer Algebra System" +HOMEPAGE="http://yacas.sourceforge.net/" +SRC_URI="http://${PN}.sourceforge.net/backups/${P}.tar.gz + mirror://gentoo/${P}.patch.bz2 + http://dev.gentoo.org/~phosphan/${P}.patch.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 ~ppc ~amd64" + +DEPEND="virtual/libc + >=sys-apps/sed-4 + gmp? ( >=dev-libs/gmp-4 ) " + + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${WORKDIR}/${P}.patch +} + +src_compile() { + local myconf + if use gmp ; then + myconf="--with-numlib=gmp" + fi + econf ${myconf} || die "./configure failed" + emake || die +} + +src_install() { + # a very strange Makefile's, that do not honor standard wrappings :( + 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} + + 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/ +} -- 2.26.2