summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2005-06-26 01:48:05 +0000
committerOlivier Fisette <ribosome@gentoo.org>2005-06-26 01:48:05 +0000
commita5199e37ae1d78ab84c215a929f318e011d15b2c (patch)
treee8446e73eb0b9d662fafeda95c49481705cf6b66 /sci-mathematics
parentRemoved obsolete versions. (diff)
downloadgentoo-2-a5199e37ae1d78ab84c215a929f318e011d15b2c.tar.gz
gentoo-2-a5199e37ae1d78ab84c215a929f318e011d15b2c.tar.bz2
gentoo-2-a5199e37ae1d78ab84c215a929f318e011d15b2c.zip
Removed obsolete version.
(Portage version: 2.0.51.19)
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/mupad/ChangeLog7
-rw-r--r--sci-mathematics/mupad/files/digest-mupad-2.5.2-r14
-rw-r--r--sci-mathematics/mupad/mupad-2.5.2-r1.ebuild104
3 files changed, 5 insertions, 110 deletions
diff --git a/sci-mathematics/mupad/ChangeLog b/sci-mathematics/mupad/ChangeLog
index e49ffe81c63a..e127199f4350 100644
--- a/sci-mathematics/mupad/ChangeLog
+++ b/sci-mathematics/mupad/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-mathematics/mupad
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mupad/ChangeLog,v 1.3 2004/12/28 20:44:19 swegener Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mupad/ChangeLog,v 1.4 2005/06/26 01:48:05 ribosome Exp $
+
+ 26 Jun 2005; Olivier Fisette <ribosome@gentoo.org> -mupad-2.5.2-r1.ebuild:
+ Removed obsolete version.
28 Dec 2004; Seemant Kulleen <seemant@gentoo.org> mupad-2.5.2-r1.ebuild,
mupad-2.5.2-r2.ebuild:
diff --git a/sci-mathematics/mupad/files/digest-mupad-2.5.2-r1 b/sci-mathematics/mupad/files/digest-mupad-2.5.2-r1
deleted file mode 100644
index 7030107e1ca5..000000000000
--- a/sci-mathematics/mupad/files/digest-mupad-2.5.2-r1
+++ /dev/null
@@ -1,4 +0,0 @@
-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/mupad-2.5.2-r1.ebuild b/sci-mathematics/mupad/mupad-2.5.2-r1.ebuild
deleted file mode 100644
index 1f97bfbd1137..000000000000
--- a/sci-mathematics/mupad/mupad-2.5.2-r1.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# 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.2 2004/12/28 18:03:11 seemant Exp $
-
-inherit versionator
-
-VER=$(replace_all_version_separators '')
-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 ""
-}