summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2004-12-28 14:43:46 +0000
committerOlivier Fisette <ribosome@gentoo.org>2004-12-28 14:43:46 +0000
commit7a4aa8e5f4d0090a78e7e6b55ffb981584c8440d (patch)
tree4401d89b705d524c912267a5a3ff979057b6587b /sci-mathematics
parentMoving to sci-mathematics/mupad (diff)
downloadhistorical-7a4aa8e5f4d0090a78e7e6b55ffb981584c8440d.tar.gz
historical-7a4aa8e5f4d0090a78e7e6b55ffb981584c8440d.tar.bz2
historical-7a4aa8e5f4d0090a78e7e6b55ffb981584c8440d.zip
Moved from app-sci/mupad to sci-mathematics/mupad.
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/mupad/ChangeLog48
-rw-r--r--sci-mathematics/mupad/Manifest16
-rw-r--r--sci-mathematics/mupad/files/digest-mupad-2.5.2-r14
-rw-r--r--sci-mathematics/mupad/files/digest-mupad-2.5.2-r24
-rw-r--r--sci-mathematics/mupad/metadata.xml5
-rw-r--r--sci-mathematics/mupad/mupad-2.5.2-r1.ebuild102
-rw-r--r--sci-mathematics/mupad/mupad-2.5.2-r2.ebuild108
7 files changed, 287 insertions, 0 deletions
diff --git a/sci-mathematics/mupad/ChangeLog b/sci-mathematics/mupad/ChangeLog
new file mode 100644
index 000000000000..b721876907b5
--- /dev/null
+++ b/sci-mathematics/mupad/ChangeLog
@@ -0,0 +1,48 @@
+# ChangeLog for app-sci/mupad
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mupad/ChangeLog,v 1.1 2004/12/28 14:43:46 ribosome Exp $
+
+*mupad-2.5.2-r2 (28 Dec 2004)
+
+ 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +mupad-2.5.2-r1.ebuild, +mupad-2.5.2-r2.ebuild:
+ Moved from app-sci/mupad to sci-mathematics/mupad.
+
+ 09 Sep 2004; Doug Goldstein <cardoe@gentoo.org> mupad-2.5.2-r2.ebuild:
+ stable on x86
+
+ 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ mupad-2.5.2-r1.ebuild, mupad-2.5.2-r2.ebuild:
+ virtual/glibc -> virtual/libc
+
+ 02 Jun 2004; Aron Griffis <agriffis@gentoo.org> mupad-2.5.2-r2.ebuild:
+ Fix use invocation
+
+ 16 May 2004; Danny van Dyk <kugelfang@gentoo.org> mupad-2.5.2-r2.ebuild:
+ Fixed BUG #50946 using patch by Andreas Korinek. Marked ~amd64.
+
+*mupad-2.5.2-r2 (10 May 2004)
+
+ 10 May 2004; Patrick Kursawe <phosphan@gentoo.org> mupad-2.5.2-r2.ebuild,
+ mupad-2.5.2.ebuild:
+ Fixing bugs #48496 and #48726 (-ppc added, passes on command line parameters)
+
+ 28 Sep 2003; Markus Nigbur <pyrania@gentoo.org> mupad-2.5.2-r1.ebuild:
+ Marked stable.
+
+*mupad-2.5.2-r1 (19 Jun 2003)
+
+ 19 Jun 2003; George Shapovalov <george@gentoo.org> mupad-2.5.2-r1.ebuild :
+ added local use flag mupad-noscilab to control installation of scilab
+ supplied by package (in case user prefers to use system-wide scilab, which
+ is a separate package).
+ Moved docs to the original place, where MuPAD's online help looks for them.
+ Instead created symlinks into FHS specified place.
+
+*mupad-2.5.2.ebuild (11 May 2003)
+
+ 11 May 2003; George Shapovalov <george@gentoo.org> mupad-2.5.2.ebuild, files/{digest-mupad-2.5.2} :
+ initial release (#16862)
+ MuPAD is an open computer algebra system
+ ebuild submitted by Sourav Mandal <sourav@sourav.net>
+ note, this edition of MuPAD is free only for non-commercial use.
diff --git a/sci-mathematics/mupad/Manifest b/sci-mathematics/mupad/Manifest
new file mode 100644
index 000000000000..69276bd60293
--- /dev/null
+++ b/sci-mathematics/mupad/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 bfbf21f11e7e581736fd8d152c6309f2 ChangeLog 1714
+MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+MD5 5cdd01347d11b830437f4ca6a2fc86a8 mupad-2.5.2-r1.ebuild 3136
+MD5 e4e82a795b224edc36775c33d6ece1a3 mupad-2.5.2-r2.ebuild 3376
+MD5 4e05b1eb3ba3380509b9085086cad7ef files/digest-mupad-2.5.2-r1 249
+MD5 4e05b1eb3ba3380509b9085086cad7ef files/digest-mupad-2.5.2-r2 249
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.10 (GNU/Linux)
+
+iD8DBQFBXsT0I1lqEGTUzyQRAke5AJ9AFBesFpYk3TIDvnx3Lo6bAxRJJgCgzf9a
+ARzhnthS24d0tFTwJM6dkSo=
+=h7a5
+-----END PGP SIGNATURE-----
diff --git a/sci-mathematics/mupad/files/digest-mupad-2.5.2-r1 b/sci-mathematics/mupad/files/digest-mupad-2.5.2-r1
new file mode 100644
index 000000000000..7030107e1ca5
--- /dev/null
+++ b/sci-mathematics/mupad/files/digest-mupad-2.5.2-r1
@@ -0,0 +1,4 @@
+MD5 b7521edbe61835a1bf8187d404da6885 linux_libs.tgz 3806366
+MD5 e1615ed9f278783c7fab191e2f16c2da share_252.tgz 20261044
+MD5 1572d15a03bc31644b11bf9ca7023d0d bin_linux_scilab_252.tgz 9497255
+MD5 70d3d397f2f62c07651763932c591b17 docpatch25x.tgz 56937
diff --git a/sci-mathematics/mupad/files/digest-mupad-2.5.2-r2 b/sci-mathematics/mupad/files/digest-mupad-2.5.2-r2
new file mode 100644
index 000000000000..7030107e1ca5
--- /dev/null
+++ b/sci-mathematics/mupad/files/digest-mupad-2.5.2-r2
@@ -0,0 +1,4 @@
+MD5 b7521edbe61835a1bf8187d404da6885 linux_libs.tgz 3806366
+MD5 e1615ed9f278783c7fab191e2f16c2da share_252.tgz 20261044
+MD5 1572d15a03bc31644b11bf9ca7023d0d bin_linux_scilab_252.tgz 9497255
+MD5 70d3d397f2f62c07651763932c591b17 docpatch25x.tgz 56937
diff --git a/sci-mathematics/mupad/metadata.xml b/sci-mathematics/mupad/metadata.xml
new file mode 100644
index 000000000000..b229aec85b8f
--- /dev/null
+++ b/sci-mathematics/mupad/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+</pkgmetadata>
diff --git a/sci-mathematics/mupad/mupad-2.5.2-r1.ebuild b/sci-mathematics/mupad/mupad-2.5.2-r1.ebuild
new file mode 100644
index 000000000000..96957a98ac37
--- /dev/null
+++ b/sci-mathematics/mupad/mupad-2.5.2-r1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mupad/mupad-2.5.2-r1.ebuild,v 1.1 2004/12/28 14:43:46 ribosome Exp $
+
+VER=`echo $PV|awk -F. '{ print $1$2$3 }'`
+URLPATH="ftp://ftp.mupad.de/MuPAD/distrib/unix/"
+INSTDIR="/usr/lib/mupad"
+INSTBINDIR="${INSTDIR}/share/bin"
+BINDIR="/usr/bin"
+
+RESTRICT="nostrip"
+DESCRIPTION="MuPAD is an open computer algebra system"
+HOMEPAGE="http://www.mupad.de/index_uni.shtml"
+
+SRC_URI="${URLPATH}/linux_libs.tgz
+ ${URLPATH}/share_${VER}.tgz
+ ${URLPATH}/bin_linux_scilab_${VER}.tgz"
+
+# If version is 2.5.2, download documentation patch
+if [ "${VER}" = "252" ] ; then
+ SRC_URI="${SRC_URI} ${URLPATH}/docpatch25x.tgz"
+fi
+
+#see also http://www.sciface.com/personal.shtml
+LICENSE="mupad"
+
+SLOT="0"
+KEYWORDS="x86"
+IUSE="mupad-noscilab"
+DEPEND="virtual/libc"
+RDEPEND="=dev-lang/tk-8.3*"
+
+src_unpack() {
+ echo -n ""
+}
+
+src_compile() {
+ echo -n ""
+}
+
+src_install() {
+ einfo "Unpacking binary distribution ..."
+ einfo " - Creating container directory ..."
+ dodir ${INSTDIR}
+ einfo " - Unpacking common files ..."
+ tar -C ${D}${INSTDIR} -xzpf ${DISTDIR}/share_${VER}.tgz \
+ > /dev/null 2>&1 || die
+ einfo " - Unpacking Linux binaries for MuPAD and Scilab ..."
+ tar -C ${D}${INSTDIR} -xzpf ${DISTDIR}/bin_linux_scilab_${VER}.tgz \
+ > /dev/null 2>&1 || die
+ einfo " - Unpacking support libs for Linux binaries ..."
+ tar -C ${D}${INSTDIR} -xzpf ${DISTDIR}/linux_libs.tgz \
+ > /dev/null 2>&1 || die
+ # This (conditional) patch has to be last, obviously
+ if [ "${VER}" = "252" ] ; then
+ einfo "Unpacking documentation patch for version 2.5.2 ..."
+ tar -C ${D}${INSTDIR} -xzpf ${DISTDIR}/docpatch25x.tgz \
+ > /dev/null 2>&1 || die
+ fi
+ einfo "Making wrapper scripts for executables ..."
+ dodir ${BINDIR}
+ FILES="mupad xmupad"
+ for FILE in $FILES; do
+ einfo " - ${FILE}"
+ # How do I get this do "die" if it fails?
+ cat > ${D}${BINDIR}/${FILE} <<-ENDOFSCRIPT
+ #!/bin/sh
+ exec ${INSTBINDIR}/${FILE}
+ ENDOFSCRIPT
+ fperms 0755 ${BINDIR}/${FILE} || die
+ done
+
+ #move docs to the roper place
+ dodir /usr/share/doc/${PF}/
+ mv ${D}/usr/lib/mupad/{INSTALL,LICENSE} ${D}/usr/share/doc/${PF}/
+ for fn in changes copyright doc; do dosym /usr/lib/mupad/share/$fn /usr/share/doc/${PF}; done
+
+ #remove scilab stuff if user set the flag
+ use mupad-noscilab && rm -rf ${D}/usr/lib/mupad/packages/scilab/
+}
+
+pkg_postinst() {
+ echo ""
+ einfo "SOME IMPORTANT NOTES:"
+ einfo ""
+ einfo " - This version of MuPAD has Scilab functionality"
+ einfo " integrated, so if you have Scilab installed already, "
+ einfo " you might find it to be redundant."
+ einfo ""
+ einfo " - MuPAD is only free for non-commercial use. Visit"
+ einfo " http://www.mupad.com/ for commercial downloads."
+ einfo ""
+ einfo " - In this non-commercial version, you must register to"
+ einfo " obtain a license key in order to deactivate the memory"
+ einfo " limit. The memory limit prevents large calculations."
+ einfo " Read the documentation or visit"
+ einfo ""
+ einfo " ${HOMEPAGE}"
+ einfo ""
+ einfo " for more info."
+ echo ""
+}
diff --git a/sci-mathematics/mupad/mupad-2.5.2-r2.ebuild b/sci-mathematics/mupad/mupad-2.5.2-r2.ebuild
new file mode 100644
index 000000000000..191074844ffb
--- /dev/null
+++ b/sci-mathematics/mupad/mupad-2.5.2-r2.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mupad/mupad-2.5.2-r2.ebuild,v 1.1 2004/12/28 14:43:46 ribosome Exp $
+
+VER=`echo $PV|awk -F. '{ print $1$2$3 }'`
+URLPATH="ftp://ftp.mupad.de/MuPAD/distrib/unix/"
+INSTDIR="/usr/lib/mupad"
+INSTBINDIR="${INSTDIR}/share/bin"
+BINDIR="/usr/bin"
+
+RESTRICT="nostrip"
+DESCRIPTION="MuPAD is an open computer algebra system"
+HOMEPAGE="http://www.mupad.de/index_uni.shtml"
+
+SRC_URI="${URLPATH}/linux_libs.tgz
+ ${URLPATH}/share_${VER}.tgz
+ ${URLPATH}/bin_linux_scilab_${VER}.tgz"
+
+# If version is 2.5.2, download documentation patch
+if [ "${VER}" = "252" ] ; then
+ SRC_URI="${SRC_URI} ${URLPATH}/docpatch25x.tgz"
+fi
+
+#see also http://www.sciface.com/personal.shtml
+LICENSE="mupad"
+
+SLOT="0"
+KEYWORDS="x86 -ppc ~amd64"
+IUSE="mupad-noscilab"
+DEPEND="virtual/libc"
+RDEPEND=">=dev-lang/tk-8.3"
+
+src_unpack() {
+ echo -n ""
+}
+
+src_compile() {
+ echo -n ""
+}
+
+src_install() {
+ einfo "Unpacking binary distribution ..."
+ einfo " - Creating container directory ..."
+ dodir ${INSTDIR}
+ einfo " - Unpacking common files ..."
+ tar -C ${D}${INSTDIR} -xzpf ${DISTDIR}/share_${VER}.tgz \
+ > /dev/null 2>&1 || die
+ einfo " - Unpacking Linux binaries for MuPAD and Scilab ..."
+ tar -C ${D}${INSTDIR} -xzpf ${DISTDIR}/bin_linux_scilab_${VER}.tgz \
+ > /dev/null 2>&1 || die
+ einfo " - Unpacking support libs for Linux binaries ..."
+ tar -C ${D}${INSTDIR} -xzpf ${DISTDIR}/linux_libs.tgz \
+ > /dev/null 2>&1 || die
+ # This (conditional) patch has to be last, obviously
+ if [ "${VER}" = "252" ] ; then
+ einfo "Unpacking documentation patch for version 2.5.2 ..."
+ tar -C ${D}${INSTDIR} -xzpf ${DISTDIR}/docpatch25x.tgz \
+ > /dev/null 2>&1 || die
+ fi
+ einfo "Making wrapper scripts for executables ..."
+ dodir ${BINDIR}
+ FILES="mupad xmupad"
+ for FILE in $FILES; do
+ einfo " - ${FILE}"
+ # How do I get this do "die" if it fails?
+ cat > ${D}${BINDIR}/${FILE} <<-ENDOFSCRIPT
+ #!/bin/sh
+ exec ${INSTBINDIR}/${FILE} \$*
+ ENDOFSCRIPT
+ fperms 0755 ${BINDIR}/${FILE} || die
+ done
+
+ #move docs to the roper place
+ dodir /usr/share/doc/${PF}/
+ mv ${D}/usr/lib/mupad/{INSTALL,LICENSE} ${D}/usr/share/doc/${PF}/
+ for fn in changes copyright doc; do dosym /usr/lib/mupad/share/$fn /usr/share/doc/${PF}; done
+
+ #remove scilab stuff if user set the flag
+ use mupad-noscilab && rm -rf ${D}/usr/lib/mupad/packages/scilab/
+
+ #patch the sysinfo file to recognize x86_64 as proper ${ARCH}
+ if use amd64; then
+ einfo "Patching sysinfo file to recognize x86_64..."
+ sed -i -e "s/i*86) LINE/i*86|x86_64) LINE/" ${D}/usr/lib/mupad/share/bin/sysinfo
+ fi
+}
+
+pkg_postinst() {
+ echo ""
+ einfo "SOME IMPORTANT NOTES:"
+ einfo ""
+ einfo " - This version of MuPAD has Scilab functionality"
+ einfo " integrated, so if you have Scilab installed already, "
+ einfo " you might find it to be redundant."
+ einfo ""
+ einfo " - MuPAD is only free for non-commercial use. Visit"
+ einfo " http://www.mupad.com/ for commercial downloads."
+ einfo ""
+ einfo " - In this non-commercial version, you must register to"
+ einfo " obtain a license key in order to deactivate the memory"
+ einfo " limit. The memory limit prevents large calculations."
+ einfo " Read the documentation or visit"
+ einfo ""
+ einfo " ${HOMEPAGE}"
+ einfo ""
+ einfo " for more info."
+ echo ""
+}