summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2005-01-16 16:39:20 +0000
committerTim Yamin <plasmaroo@gentoo.org>2005-01-16 16:39:20 +0000
commit31d967e51708862881d6ac2dae05ebde63c9204e (patch)
tree7fd7eb1370e32778fd624635bb1668b041b000a1 /sci-mathematics
parentfix einfo about symlink, closes bug #74594 (diff)
downloadhistorical-31d967e51708862881d6ac2dae05ebde63c9204e.tar.gz
historical-31d967e51708862881d6ac2dae05ebde63c9204e.tar.bz2
historical-31d967e51708862881d6ac2dae05ebde63c9204e.zip
Initial commit.
Package-Manager: portage-2.0.51-r13
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/axiom/ChangeLog8
-rw-r--r--sci-mathematics/axiom/Manifest4
-rw-r--r--sci-mathematics/axiom/axiom-9999.ebuild95
-rw-r--r--sci-mathematics/axiom/files/digest-axiom-99990
-rw-r--r--sci-mathematics/axiom/metadata.xml8
5 files changed, 115 insertions, 0 deletions
diff --git a/sci-mathematics/axiom/ChangeLog b/sci-mathematics/axiom/ChangeLog
new file mode 100644
index 000000000000..16c19ae5fd30
--- /dev/null
+++ b/sci-mathematics/axiom/ChangeLog
@@ -0,0 +1,8 @@
+# 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.1 2005/01/16 16:39:20 plasmaroo Exp $
+
+*axiom-9999 (16 Jan 2005)
+
+ 16 Jan 2005; <plasmaroo@gentoo.org> +axiom-9999.ebuild, +metadata.xml:
+ Initial commit.
diff --git a/sci-mathematics/axiom/Manifest b/sci-mathematics/axiom/Manifest
new file mode 100644
index 000000000000..151d2406dd52
--- /dev/null
+++ b/sci-mathematics/axiom/Manifest
@@ -0,0 +1,4 @@
+MD5 89b31b6f5c38956e75300ec422a509bf ChangeLog 336
+MD5 f23469427ca41105a3fc81473cec9fb7 axiom-9999.ebuild 2877
+MD5 e49bb02132d2cd74ad4e6ee291e102d9 metadata.xml 220
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-axiom-9999 0
diff --git a/sci-mathematics/axiom/axiom-9999.ebuild b/sci-mathematics/axiom/axiom-9999.ebuild
new file mode 100644
index 000000000000..58391f49cdc9
--- /dev/null
+++ b/sci-mathematics/axiom/axiom-9999.ebuild
@@ -0,0 +1,95 @@
+# 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-9999.ebuild,v 1.1 2005/01/16 16:39:20 plasmaroo Exp $
+
+ECVS_AUTH='ext'
+export CVS_RSH='ssh'
+ECVS_SERVER='savannah.gnu.org:/cvsroot/axiom'
+ECVS_MODULE='axiom'
+ECVS_USER='anoncvs'
+ECVS_PASS=''
+ECVS_CVS_OPTIONS='-dP'
+ECVS_SSH_HOST_KEY='savannah.gnu.org,199.232.41.3 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAzFQovi+67xa+wymRz9u3plx0ntQnELBoNU4SCl3RkwSFZkrZsRTC0fTpOKatQNs1r/BLFoVt21oVFwIXVevGQwB+Lf0Z+5w9qwVAQNu/YUAFHBPTqBze4wYK/gSWqQOLoj7rOhZk0xtAS6USqcfKdzMdRWgeuZ550P6gSzEHfv0='
+
+inherit cvs eutils
+
+IUSE=''
+S=${WORKDIR}/${ECVS_MODULE}
+DESCRIPTION='Axiom is a general purpose Computer Algebra system.'
+SRC_URI=''
+HOMEPAGE='http://axiom.axiom-developer.org/index.html'
+
+DEPEND='virtual/x11
+ virtual/tetex'
+
+SLOT='0'
+LICENSE='GPL-2'
+KEYWORDS='~x86'
+
+pkg_setup() {
+ echo
+ ewarn 'WARNING: This is a *live* *CVS* ebuild and thus may have'
+ ewarn ' serious stability issues and may even not build...'
+ echo
+ ewarn 'Please make sure you have at least 0.6GB of space for Axiom'
+ ewarn 'to build. The compilation will take several *HOURS* so be'
+ ewarn 'patient...'
+ echo
+
+ epause 5
+}
+
+src_setenv() {
+ export AXIOM=`pwd`/mnt/linux
+ export PATH=${AXIOM}/bin:${PATH}
+
+ # For TeXMF and sandbox happiness
+ export VARTEXFONTS=${WORKDIR}/../temp
+ export TEXMF="{${VARTEXFONTS},!!/usr/share/texmf}"
+}
+
+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!'
+
+ # 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 '1d;2i AXIOM=/opt/axiom' -i ${D}/usr/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-9999 b/sci-mathematics/axiom/files/digest-axiom-9999
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/sci-mathematics/axiom/files/digest-axiom-9999
diff --git a/sci-mathematics/axiom/metadata.xml b/sci-mathematics/axiom/metadata.xml
new file mode 100644
index 000000000000..e2035cdbb121
--- /dev/null
+++ b/sci-mathematics/axiom/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<maintainer>
+ <email>plasmaroo@gentoo.org</email>
+</maintainer>
+</pkgmetadata>