diff options
author | George Shapovalov <george@gentoo.org> | 2002-11-08 00:06:58 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2002-11-08 00:06:58 +0000 |
commit | 41613980923ac389fed609259c35b6d3a1f948d8 (patch) | |
tree | 3589bba3e11fbbb8acabcdff2ed090bbb9670e59 /app-sci/euler | |
parent | new version (diff) | |
download | gentoo-2-41613980923ac389fed609259c35b6d3a1f948d8.tar.gz gentoo-2-41613980923ac389fed609259c35b6d3a1f948d8.tar.bz2 gentoo-2-41613980923ac389fed609259c35b6d3a1f948d8.zip |
new version, removed now obsolete PROVIDE="app-misc/euler" statment
Diffstat (limited to 'app-sci/euler')
-rw-r--r-- | app-sci/euler/ChangeLog | 10 | ||||
-rw-r--r-- | app-sci/euler/euler-1.60.6.ebuild | 52 | ||||
-rw-r--r-- | app-sci/euler/files/digest-euler-1.60.6 | 1 |
3 files changed, 62 insertions, 1 deletions
diff --git a/app-sci/euler/ChangeLog b/app-sci/euler/ChangeLog index 4745d9f637b2..ecc156efb4f8 100644 --- a/app-sci/euler/ChangeLog +++ b/app-sci/euler/ChangeLog @@ -1,6 +1,14 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/euler/ChangeLog,v 1.2 2002/11/08 00:06:58 george Exp $ + +*euler-1.60.6 (07 Nov 2002) + + 07 Nov 2002; George Shapovalov <george@gentoo.org> euler-1.60.6.ebuild : + + new version + also removed PROVIDE="app-misc/euler" statment as it was moved over 6 month ago. + slightly updated ebuild submitted by James R. Webb <jrwebb@qwest.net> *euler-1.59.1 (06 May 2002) diff --git a/app-sci/euler/euler-1.60.6.ebuild b/app-sci/euler/euler-1.60.6.ebuild new file mode 100644 index 000000000000..45a89ac4a769 --- /dev/null +++ b/app-sci/euler/euler-1.60.6.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/app-sci/euler/euler-1.60.6.ebuild,v 1.1 2002/11/08 00:06:58 george Exp $ + +IUSE="" + +#euler only uses two major numners internally, need to do some mangling +MajVer="$(echo ${PV}|cut -d '.' -f 1,2)" +S=${WORKDIR}/${PN}-${MajVer} + +DESCRIPTION="Mathematical programming environment" +SRC_URI="mirror://sourceforge/euler/${P}.tar.gz" +HOMEPAGE="http://euler.sf.net" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~sparx64" + +DEPEND="virtual/glibc + virtual/x11 + =x11-libs/gtk+-1.2*" + +src_unpack() { + unpack ${P}.tar.gz + #mv euler-1.60 ${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/doc/${PN}/* ${D}/usr/share/doc/${PF}/html + rm -rf ${D}/usr/share/doc/${PN} + dodoc ChangeLog README TODO +} + diff --git a/app-sci/euler/files/digest-euler-1.60.6 b/app-sci/euler/files/digest-euler-1.60.6 new file mode 100644 index 000000000000..969cfd5375a3 --- /dev/null +++ b/app-sci/euler/files/digest-euler-1.60.6 @@ -0,0 +1 @@ +MD5 e56a0f41c184fc2f416457f0c5ece78f euler-1.60.6.tar.gz 769602 |