summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/singular')
-rw-r--r--sci-mathematics/singular/ChangeLog11
-rw-r--r--sci-mathematics/singular/Manifest16
-rw-r--r--sci-mathematics/singular/files/digest-singular-3.0.1.22
-rw-r--r--sci-mathematics/singular/singular-3.0.1.2.ebuild110
4 files changed, 130 insertions, 9 deletions
diff --git a/sci-mathematics/singular/ChangeLog b/sci-mathematics/singular/ChangeLog
index c78de072a510..eb83209a785c 100644
--- a/sci-mathematics/singular/ChangeLog
+++ b/sci-mathematics/singular/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-mathematics/singular
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/ChangeLog,v 1.5 2005/12/18 13:10:04 markusle Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/ChangeLog,v 1.6 2006/01/15 06:04:28 markusle Exp $
+
+*singular-3.0.1.2 (14 Jan 2006)
+
+ 14 Jan 2006; Markus Dittrich <markusle@gentoo.org>
+ +singular-3.0.1.2.ebuild:
+ Version bump. Also, fixed small bug in the ebuild which prevented
+ the singular info file from being properly installed.
*singular-3.0.1.1 (18 Dec 2005)
diff --git a/sci-mathematics/singular/Manifest b/sci-mathematics/singular/Manifest
index cebc3c640c50..f4baf8828257 100644
--- a/sci-mathematics/singular/Manifest
+++ b/sci-mathematics/singular/Manifest
@@ -1,9 +1,11 @@
-MD5 cd39e5ab8e6b0bb7d73746b86607dfb4 singular-3.0.1.1.ebuild 2869
-MD5 04e6be188d434a23dbb138e9a5889ef6 singular-2.0.5-r4.ebuild 4271
-MD5 79a0a7d7ffa9d66816513c8d14a9e91a ChangeLog 3568
-MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
-MD5 b1383ace2a0b30413341982e4e34341f files/fake_ssh 150
+MD5 2fbe4763206468a95ea3cbbec14a2a2b ChangeLog 3808
MD5 673cd925126b07ea0e78cf91269b7d66 files/digest-singular-2.0.5-r4 859
-MD5 5b489be217e784298e549744b0b2a3fa files/singular-3.0.1-gentoo.diff 4566
-MD5 916f91466aad4f177f2270b4c1fad94a files/singular-2.0.5-r3-gentoo.diff 4399
MD5 5c5f7df613188aa8d18e5fe1ab655696 files/digest-singular-3.0.1.1 143
+MD5 0e00386f918c494270d01873de5cbe4f files/digest-singular-3.0.1.2 143
+MD5 b1383ace2a0b30413341982e4e34341f files/fake_ssh 150
+MD5 916f91466aad4f177f2270b4c1fad94a files/singular-2.0.5-r3-gentoo.diff 4399
+MD5 5b489be217e784298e549744b0b2a3fa files/singular-3.0.1-gentoo.diff 4566
+MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+MD5 04e6be188d434a23dbb138e9a5889ef6 singular-2.0.5-r4.ebuild 4271
+MD5 cd39e5ab8e6b0bb7d73746b86607dfb4 singular-3.0.1.1.ebuild 2869
+MD5 f43357949d64a42c64b83036714c8819 singular-3.0.1.2.ebuild 2870
diff --git a/sci-mathematics/singular/files/digest-singular-3.0.1.2 b/sci-mathematics/singular/files/digest-singular-3.0.1.2
new file mode 100644
index 000000000000..76377d03a97c
--- /dev/null
+++ b/sci-mathematics/singular/files/digest-singular-3.0.1.2
@@ -0,0 +1,2 @@
+MD5 0f0178368ef7a3bac8d18a7cc1b522d3 Singular-3-0-1-2.tar.gz 10741252
+MD5 e9ac8802f2c3bcfbecd1c34837f7c826 Singular-3-0-1-share.tar.gz 3909236
diff --git a/sci-mathematics/singular/singular-3.0.1.2.ebuild b/sci-mathematics/singular/singular-3.0.1.2.ebuild
new file mode 100644
index 000000000000..89e72e937420
--- /dev/null
+++ b/sci-mathematics/singular/singular-3.0.1.2.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/singular-3.0.1.2.ebuild,v 1.1 2006/01/15 06:04:28 markusle Exp $
+
+inherit eutils
+
+PV_MAJOR=${PV%.*}
+MY_PV=${PV//./-}
+MY_PN=${PN/s/S}
+MY_PV_MAJOR=${MY_PV%-*}
+
+DESCRIPTION="Computer algebra system for polynomial computations"
+HOMEPAGE="http://www.singular.uni-kl.de/"
+SRC_URI="ftp://www.mathematik.uni-kl.de/pub/Math/Singular/src/$MY_PV_MAJOR/${MY_PN}-${MY_PV}.tar.gz
+ ftp://www.mathematik.uni-kl.de/pub/Math/Singular/UNIX/${MY_PN}-3-0-1-share.tar.gz"
+
+LICENSE="singular"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="doc emacs"
+
+DEPEND=">=dev-lang/perl-5.6
+ >=dev-libs/gmp-4.1-r1
+ emacs? ( || ( app-editors/xemacs
+ app-editors/emacs ) )"
+
+
+S="${WORKDIR}"/${MY_PN}-${MY_PV_MAJOR}
+
+src_unpack () {
+ unpack ${A}
+ epatch $FILESDIR/${PN}-${PV_MAJOR}-gentoo.diff
+ sed -e "s/PFSUBST/${PF}/" -i ${S}/kernel/feResource.cc || \
+ die "sed failed on feResource.cc"
+}
+
+src_compile() {
+ local myconf="${myconf} --disable-doc --without-MP --with-factory --with-libfac --prefix=${S}"
+ econf ${myconf} || die "econf failed"
+ emake || die "make failed"
+}
+
+src_install () {
+ local myarchprefix
+ case ${ARCH} in
+ x86)
+ myarchprefix=ix86
+ ;;
+ *)
+ myarchprefix=${ARCH}
+ ;;
+ esac
+
+ # install basic docs
+ cd "${S}" && dodoc BUGS ChangeLog || \
+ die "failed to install docs"
+
+ # install data files
+ insinto /usr/share/${PN}/LIB
+ cd "${S}"/${MY_PN}/LIB && doins *.lib COPYING help.cnf || \
+ die "failed to install lib files"
+ insinto /usr/share/${PN}/LIB/gftables
+ cd gftables && doins * \
+ || die "failed to install files int LIB/gftables"
+
+ cd "${S}/${myarchprefix}"-Linux
+
+ # install binaries
+ rm ${MY_PN} || die "failed to remove ${MY_PN}"
+ dobin ${MY_PN}* gen_test change_cost solve_IP \
+ toric_ideal LLL || die "failed to install binaries"
+
+ if use emacs; then
+ dobin E${MY_PN} || die "failed to install ESingular"
+ fi
+
+ # install libraries
+ insinto /usr/lib/${PN}
+ doins *.so || die "failed to install libraries"
+
+ # create symbolic link
+ dosym /usr/bin/${MY_PN}-${MY_PV_MAJOR} /usr/bin/${MY_PN} || \
+ die "failed to create symbolic link"
+
+ # install examples
+ cd "${WORKDIR}"/${MY_PN}/${MY_PV_MAJOR}
+ insinto /usr/share/${PN}/examples
+ doins examples/* || die "failed to install examples"
+
+ # install extended docs
+ if use doc; then
+ dohtml -r html/* || die "failed to install html docs"
+
+ cp info/${PN}.hlp info/${PN}.info &&
+ doinfo info/${PN}.info || \
+ die "failed to install info files"
+ fi
+
+ # install emacs specific stuff
+ if use emacs; then
+ insinto /usr/share/${PN}/emacs
+ doins emacs/* && doins emacs/.emacs* || \
+ die "failed to set up emacs files"
+ fi
+}
+
+pkg_postinst() {
+ einfo "The authors ask you to register as a SINGULAR user."
+ einfo "Please check the license file for details."
+}