diff options
author | Tim Yamin <plasmaroo@gentoo.org> | 2005-12-29 23:32:31 +0000 |
---|---|---|
committer | Tim Yamin <plasmaroo@gentoo.org> | 2005-12-29 23:32:31 +0000 |
commit | bbb86acb5c2683b7d58fa6c2bf4b138f3a55fa89 (patch) | |
tree | f12056a5086c07ce21198dcd24292a80d61e367a /sci-mathematics | |
parent | Stable on amd64 (diff) | |
download | gentoo-2-bbb86acb5c2683b7d58fa6c2bf4b138f3a55fa89.tar.gz gentoo-2-bbb86acb5c2683b7d58fa6c2bf4b138f3a55fa89.tar.bz2 gentoo-2-bbb86acb5c2683b7d58fa6c2bf4b138f3a55fa89.zip |
Add snapshot; bug #117097.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/axiom/ChangeLog | 7 | ||||
-rw-r--r-- | sci-mathematics/axiom/axiom-3.9.ebuild | 74 | ||||
-rw-r--r-- | sci-mathematics/axiom/files/digest-axiom-3.9 | 1 |
3 files changed, 81 insertions, 1 deletions
diff --git a/sci-mathematics/axiom/ChangeLog b/sci-mathematics/axiom/ChangeLog index 1d9dad595b5d..7afc0fd81485 100644 --- a/sci-mathematics/axiom/ChangeLog +++ b/sci-mathematics/axiom/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-mathematics/axiom # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/axiom/ChangeLog,v 1.3 2005/12/13 23:26:13 plasmaroo Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/axiom/ChangeLog,v 1.4 2005/12/29 23:32:31 plasmaroo Exp $ + +*axiom-3.9 (29 Dec 2005) + + 29 Dec 2005; <plasmaroo@gentoo.org> +axiom-3.9.ebuild: + Add snapshot; bug #117097. 13 Dec 2005; <plasmaroo@gentoo.org> axiom-9999.ebuild: Update Savannah CVS info; #115327. diff --git a/sci-mathematics/axiom/axiom-3.9.ebuild b/sci-mathematics/axiom/axiom-3.9.ebuild new file mode 100644 index 000000000000..8f4e50456496 --- /dev/null +++ b/sci-mathematics/axiom/axiom-3.9.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/axiom/axiom-3.9.ebuild,v 1.1 2005/12/29 23:32:31 plasmaroo Exp $ + +inherit eutils + +DESCRIPTION="Axiom is a general purpose Computer Algebra system" +HOMEPAGE="http://axiom.axiom-developer.org/index.html" +SRC_URI="http://axiom.axiom-developer.org/axiom-website/DOWNLOADS/axiom-Sept2005-src.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="virtual/x11 + virtual/tetex" + +S="${WORKDIR}/axiom" + +src_setenv() { + export AXIOM=`pwd`/mnt/linux + export PATH=${AXIOM}/bin:${PATH} +} + +src_compile() { + src_setenv + + # Patch the lsp Makefile since GCL goes kaboom with newer BFDs + # from Portage, so we need to use the BFD distributed with GCL for + # things to compile and work. + sed -i -e 's/--enable-statsysbfd/--enable-locbfd --disable-statsysbfd/' Makefile.pamphlet || die 'Failed to patch the lsp Makefile!' + + # Fix gcl so the "real" Axiom can compile code after we're out of the chroot + cp ${FILESDIR}/gcl-2.6.7.fix-out-of-build-root-compile.patch.input ${S}/zips/gcl-2.6.7.fix-out-of-build-root-compile.patch + epatch ${FILESDIR}/gcl-2.6.7.fix-out-of-build-root-compile.Makefile.patch || die 'Failed to patch the lsp pamphlet!' + + # Sandbox happiness, fix noweb + cd ${WORKDIR} + mkdir noweb + cd noweb + tar zxf ${S}/zips/noweb-2.10a.tgz + sed -i -e 's/-texhash || echo "Program texhash not found or failed"//' src/Makefile* ${S}/zips/noweb.src.Makefile* + tar czf ${S}/zips/noweb-2.10a.tgz * + cd ${S} + rm ${WORKDIR}/noweb -rf + + # Fix compile bugs (if sed fails, it's fixed; so we don't || die :-]) + # (plasmaroo; 20050116) + sed -e 's/struct termio ptermio;/struct termios ptermio;/' -i src/clef/edible.c.pamphlet + mkdir src/graph/viewports + + # Let the fun begin... + ./configure + make || die # -jX breaks +} + +src_install() { + src_setenv + + dodir /usr/bin + einstall INSTALL=${D}/opt/axiom COMMAND=${D}/usr/bin/axiom || die 'Failed to install Axiom!' + sed -e '2d;3i AXIOM=/opt/axiom' -i ${D}/usr/bin/axiom ${D}/opt/axiom/mnt/linux/bin/axiom || die 'Failed to patch axiom runscript!' + + # Get rid of /mnt/linux + cd ${D}/opt/axiom + mv mnt/linux/* . + rm -rf mnt + + sed -e 's/AXIOMsys/sman/g' ${D}/usr/bin/axiom > ${D}/usr/bin/sman + sed -e 's:$AXIOM/bin/clef -e ::g' ${D}/usr/bin/axiom > ${D}/usr/bin/AXIOMsys + chmod +x ${D}/usr/bin/sman + chmod +x ${D}/usr/bin/AXIOMsys +} diff --git a/sci-mathematics/axiom/files/digest-axiom-3.9 b/sci-mathematics/axiom/files/digest-axiom-3.9 new file mode 100644 index 000000000000..72d51f09c1a5 --- /dev/null +++ b/sci-mathematics/axiom/files/digest-axiom-3.9 @@ -0,0 +1 @@ +MD5 6b107a03b03595703d5e3e6bdd12f8c1 axiom-Sept2005-src.tgz 41447064 |