Moved from app-sci/yacas to sci-mathematics/yacas.
authorOlivier Fisette <ribosome@gentoo.org>
Tue, 28 Dec 2004 15:19:17 +0000 (15:19 +0000)
committerOlivier Fisette <ribosome@gentoo.org>
Tue, 28 Dec 2004 15:19:17 +0000 (15:19 +0000)
sci-mathematics/yacas/ChangeLog [new file with mode: 0644]
sci-mathematics/yacas/Manifest [new file with mode: 0644]
sci-mathematics/yacas/files/digest-yacas-1.0.56 [new file with mode: 0644]
sci-mathematics/yacas/metadata.xml [new file with mode: 0644]
sci-mathematics/yacas/yacas-1.0.56.ebuild [new file with mode: 0644]

diff --git a/sci-mathematics/yacas/ChangeLog b/sci-mathematics/yacas/ChangeLog
new file mode 100644 (file)
index 0000000..833168e
--- /dev/null
@@ -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 <ribosome@gentoo.org> +metadata.xml,
+  +yacas-1.0.56.ebuild:
+  Moved from app-sci/yacas to sci-mathematics/yacas.
+
+  18 Dec 2004; Simon Stelling <blubb@gentoo.org> yacas-1.0.56.ebuild:
+  added ~amd64
+
+  29 Nov 2004; Patrick Kursawe <phosphan@gentoo.org> -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 <phosphan@gentoo.org> -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 <eradicator@gentoo.org> yacas-1.0.54.ebuild,
+  yacas-1.0.55.ebuild, yacas-1.0.56.ebuild:
+  virtual/glibc -> virtual/libc
+
+  20 Apr 2004; David Holm <dholm@gentoo.org> yacas-1.0.56.ebuild:
+  Added to ~ppc.
+
+*yacas-1.0.56 (19 Apr 2004)
+
+  19 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> 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 <george@gentoo.org> yacas-1.0.55.ebuild :
+  version update, made 1.0.54 stable
+
+  10 Jun 2003; <msterret@gentoo.org> yacas-1.0.54.ebuild:
+  DEPEND on sed >= 4
+
+*yacas-1.0.54 (17 Apr 2003)
+
+  17 Apr 2003; George Shapovalov <george@gentoo.org> 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 <tflorek@web.de>
diff --git a/sci-mathematics/yacas/Manifest b/sci-mathematics/yacas/Manifest
new file mode 100644 (file)
index 0000000..7804ff5
--- /dev/null
@@ -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 (file)
index 0000000..3e35c12
--- /dev/null
@@ -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 (file)
index 0000000..b229aec
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+</pkgmetadata>
diff --git a/sci-mathematics/yacas/yacas-1.0.56.ebuild b/sci-mathematics/yacas/yacas-1.0.56.ebuild
new file mode 100644 (file)
index 0000000..0ce545b
--- /dev/null
@@ -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/
+}