summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2002-05-07 00:30:27 +0000
committerGeorge Shapovalov <george@gentoo.org>2002-05-07 00:30:27 +0000
commit72ef219bce83a8e7bf99fa95021bf636d3fa794c (patch)
tree0452c3d2e2754c41bdfd0f46b013000a6d0e3119 /app-sci/euler
parentus1 is unreliable, changed to us2 for now so it can at least be mirrored by i... (diff)
downloadhistorical-72ef219bce83a8e7bf99fa95021bf636d3fa794c.tar.gz
historical-72ef219bce83a8e7bf99fa95021bf636d3fa794c.tar.bz2
historical-72ef219bce83a8e7bf99fa95021bf636d3fa794c.zip
moved euler from app-misc to app-sci
Diffstat (limited to 'app-sci/euler')
-rw-r--r--app-sci/euler/ChangeLog17
-rw-r--r--app-sci/euler/euler-1.59.1.ebuild47
-rw-r--r--app-sci/euler/files/digest-euler-1.59.11
3 files changed, 65 insertions, 0 deletions
diff --git a/app-sci/euler/ChangeLog b/app-sci/euler/ChangeLog
new file mode 100644
index 000000000000..4745d9f637b2
--- /dev/null
+++ b/app-sci/euler/ChangeLog
@@ -0,0 +1,17 @@
+# ChangeLog for app-sci/euler
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/app-sci/euler/ChangeLog,v 1.1 2002/05/07 00:30:27 george Exp $
+
+*euler-1.59.1 (06 May 2002)
+
+ Moved into app-sci category
+
+*euler-1.59.1 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/app-sci/euler/euler-1.59.1.ebuild b/app-sci/euler/euler-1.59.1.ebuild
new file mode 100644
index 000000000000..d60e388e5197
--- /dev/null
+++ b/app-sci/euler/euler-1.59.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Karl Trygve Kalleberg <karltk@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/app-sci/euler/euler-1.59.1.ebuild,v 1.1 2002/05/07 00:30:27 george Exp $
+
+S=${WORKDIR}/${P}
+
+DESCRIPTION="Mathematical programming environment"
+
+SRC_URI="http://prdownloads.sourceforge.net/euler/euler-1.59.1.tar.gz"
+
+HOMEPAGE="http://euler.sf.net"
+
+DEPEND="virtual/glibc
+ virtual/x11
+ >=x11-libs/gtk+-1.2"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ mv euler-1.59 ${P}
+
+ cd ${S}/source
+ mv main.c main.c.orig
+ cat main.c.orig | \
+ sed -e "s:share/euler/docs/index.html:share/doc/${P}/html/index.html:" \
+ > main.c
+}
+
+src_compile() {
+
+ cd ${S}/source
+ emake INSTALL_DIR=/usr || die
+}
+
+src_install () {
+
+ cd ${S}/source
+ dodir usr usr/share usr/bin
+ make INSTALL_DIR=${D}/usr install || die
+
+ cd ${S}
+ dodir usr/share/doc/${P}/html
+ mv ${D}/usr/share/euler/docs/* ${D}/usr/share/doc/${PF}/html
+ rm -rf ${D}/usr/share/euler/docs
+ dodoc ChangeLog README TODO
+}
+
diff --git a/app-sci/euler/files/digest-euler-1.59.1 b/app-sci/euler/files/digest-euler-1.59.1
new file mode 100644
index 000000000000..4bb30e8ecd38
--- /dev/null
+++ b/app-sci/euler/files/digest-euler-1.59.1
@@ -0,0 +1 @@
+MD5 2b71759991443c550dcc3dcffc3f62f8 euler-1.59.1.tar.gz 609491