summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2004-12-28 14:35:26 +0000
committerOlivier Fisette <ribosome@gentoo.org>2004-12-28 14:35:26 +0000
commit6fd915d9a9a729177ac0ef27e0e25975ac4b8fe8 (patch)
treefee8814f6b529265285f1b47075077df715e6d2a /sci-mathematics
parentMoving to sci-mathematics/mathomatic (diff)
downloadgentoo-2-6fd915d9a9a729177ac0ef27e0e25975ac4b8fe8.tar.gz
gentoo-2-6fd915d9a9a729177ac0ef27e0e25975ac4b8fe8.tar.bz2
gentoo-2-6fd915d9a9a729177ac0ef27e0e25975ac4b8fe8.zip
Moved from app-sci/mathomatic to sci-mathematics/mathomatic.
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/mathomatic/ChangeLog21
-rw-r--r--sci-mathematics/mathomatic/Manifest5
-rw-r--r--sci-mathematics/mathomatic/files/digest-mathomatic-11.1c1
-rw-r--r--sci-mathematics/mathomatic/files/gentoo-mathomatic-11.1c.diff34
-rw-r--r--sci-mathematics/mathomatic/mathomatic-11.1c.ebuild43
-rw-r--r--sci-mathematics/mathomatic/metadata.xml13
6 files changed, 117 insertions, 0 deletions
diff --git a/sci-mathematics/mathomatic/ChangeLog b/sci-mathematics/mathomatic/ChangeLog
new file mode 100644
index 000000000000..de67181d0870
--- /dev/null
+++ b/sci-mathematics/mathomatic/ChangeLog
@@ -0,0 +1,21 @@
+# ChangeLog for app-sci/mathomatic
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mathomatic/ChangeLog,v 1.1 2004/12/28 14:35:26 ribosome Exp $
+
+*mathomatic-11.1c (28 Dec 2004)
+
+ 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +files/gentoo-mathomatic-11.1c.diff, +mathomatic-11.1c.ebuild:
+ Moved from app-sci/mathomatic to sci-mathematics/mathomatic.
+
+ 13 Nov 2004; Michael Hanselmann <hansmi@gentoo.org> mathomatic-11.1c.ebuild:
+ Added to ~ppc.
+
+ 28 Jul 2004; <malc@gentoo.org> mathomatic-11.1c.ebuild:
+ Add ~amd64 closes bug #57764
+
+*mathomatic-11.1c (20 May 2004)
+
+ 20 May 2004; Thomas Veith <xtv@gentoo.org> mathomatic-11.1c.ebuild, Manifest,
+ChangeLog, metadata.xml, files/gentoo-mathomatic-11.1c.diff :
+ Initial import.
diff --git a/sci-mathematics/mathomatic/Manifest b/sci-mathematics/mathomatic/Manifest
new file mode 100644
index 000000000000..d3e23db830d4
--- /dev/null
+++ b/sci-mathematics/mathomatic/Manifest
@@ -0,0 +1,5 @@
+MD5 3abf3c126ea8c41fa253de334525981d metadata.xml 454
+MD5 f9df943a5e3506e4401d16665e52313c ChangeLog 591
+MD5 eaa4e196d369426ec6a47f5e77514b9c mathomatic-11.1c.ebuild 1097
+MD5 29133f46e7d703ecfcbc9a083f272147 files/digest-mathomatic-11.1c 65
+MD5 f7d0b9c7af7201990a0beeadca7abf3f files/gentoo-mathomatic-11.1c.diff 957
diff --git a/sci-mathematics/mathomatic/files/digest-mathomatic-11.1c b/sci-mathematics/mathomatic/files/digest-mathomatic-11.1c
new file mode 100644
index 000000000000..3dd93c3cbbfc
--- /dev/null
+++ b/sci-mathematics/mathomatic/files/digest-mathomatic-11.1c
@@ -0,0 +1 @@
+MD5 a429481dd717d8cdb2e9b8dba9399142 mathomatic-11.1c.tgz 119151
diff --git a/sci-mathematics/mathomatic/files/gentoo-mathomatic-11.1c.diff b/sci-mathematics/mathomatic/files/gentoo-mathomatic-11.1c.diff
new file mode 100644
index 000000000000..d83053ab0a2e
--- /dev/null
+++ b/sci-mathematics/mathomatic/files/gentoo-mathomatic-11.1c.diff
@@ -0,0 +1,34 @@
+diff -U 3 -dHrN -- am-orig/makefile am/makefile
+--- am-orig/makefile 2004-05-09 01:33:05.000000000 +0200
++++ am/makefile 2004-05-20 15:15:45.398058040 +0200
+@@ -1,15 +1,9 @@
+ # Makefile for compiling Mathomatic for UNIX or Linux.
+
+-CFLAGS = -O -DUNIX
+-LDFLAGS = -s
+-LIBS = -lm
+-
+-CFLAGS += $(READLINE:1=-DREADLINE)
+-LIBS += $(READLINE:1=-lreadline -lcurses)
+-
+-PREFIX = /usr/local
++CFLAGS += -DUNIX -DREADLINE
++LIBS = -lreadline -lcurses
+
+-AOUT =am
++AOUT =mathomatic
+ OBJECTS =main.o am.o parse.o cmds.o simplify.o factor.o super.o \
+ unfactor.o diff.o complex.o list.o
+
+@@ -30,8 +24,9 @@
+ $(CC) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $(AOUT)
+
+ install: $(AOUT)
+- install -m 0755 $(AOUT) $(PREFIX)/bin
+- install -m 0644 am.1 $(PREFIX)/man/man1
++ install -D -s -m 0755 $(AOUT) $(PREFIX)/usr/bin/$(AOUT)
++ sed "s:am:mathomatic:g" < am.1 > mathomatic.1
++ install -D -m 0644 mathomatic.1 $(MANDIR)/man1/mathomatic.1
+ @echo Install completed.
+
+ clean:
diff --git a/sci-mathematics/mathomatic/mathomatic-11.1c.ebuild b/sci-mathematics/mathomatic/mathomatic-11.1c.ebuild
new file mode 100644
index 000000000000..e3bbdc9dfa67
--- /dev/null
+++ b/sci-mathematics/mathomatic/mathomatic-11.1c.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mathomatic/mathomatic-11.1c.ebuild,v 1.1 2004/12/28 14:35:26 ribosome Exp $
+
+inherit eutils
+
+DESCRIPTION="Mathomatic - Algebraic Manipulator"
+HOMEPAGE="http://www.mathomatic.com/"
+SRC_URI="http://www.panix.com/~gesslein/${P}.tgz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc"
+IUSE="icc"
+
+DEPEND="sys-libs/readline \
+ sys-libs/ncurses \
+ icc? ( dev-lang/icc )"
+
+S=${WORKDIR}/am
+
+src_compile() {
+ epatch ${FILESDIR}/gentoo-${P}.diff || die "patching failed"
+ if use icc; then
+ CC="icc" CFLAGS="-O3 -axKWNBP -ipo" LDFLAGS="-O3 -axKWNBP -ipo -limf" emake || die "emake failed"
+ else
+ LDFLAGS="-lm" emake || die "emake failed"
+ fi
+
+ make test
+}
+
+src_install() {
+ PREFIX=${D} MANDIR=${D}/usr/share/man einstall || die "einstall failed"
+ dohtml am.htm manual.htm notes.htm
+ newdoc changes.txt CHANGES
+ newdoc lgpl.txt LGPL
+ newdoc readme.txt README
+
+ dodir /usr/share/doc/${PF}/examples
+ insinto /usr/share/doc/${PF}/examples
+ doins tests/*in
+}
diff --git a/sci-mathematics/mathomatic/metadata.xml b/sci-mathematics/mathomatic/metadata.xml
new file mode 100644
index 000000000000..d3028cb66d43
--- /dev/null
+++ b/sci-mathematics/mathomatic/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<maintainer>
+ <email>xtv@gentoo.org</email>
+</maintainer>
+<longdescription>
+Mathomatic is a small, portable symbolic math program that can automatically
+solve, simplify, differentiate, combine, and compare algebraic equations,
+perform polynomial and complex arithmetic, etc.
+</longdescription>
+</pkgmetadata>