summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/Macaulay2')
-rw-r--r--sci-mathematics/Macaulay2/ChangeLog49
-rw-r--r--sci-mathematics/Macaulay2/Macaulay2-0.9.95-r1.ebuild92
-rw-r--r--sci-mathematics/Macaulay2/Manifest29
-rw-r--r--sci-mathematics/Macaulay2/files/70Macaulay2-gentoo.el3
-rw-r--r--sci-mathematics/Macaulay2/files/digest-Macaulay2-0.9.95-r19
5 files changed, 135 insertions, 47 deletions
diff --git a/sci-mathematics/Macaulay2/ChangeLog b/sci-mathematics/Macaulay2/ChangeLog
index 5a82e6975a95..634b6c97b6b9 100644
--- a/sci-mathematics/Macaulay2/ChangeLog
+++ b/sci-mathematics/Macaulay2/ChangeLog
@@ -1,47 +1,10 @@
# ChangeLog for sci-mathematics/Macaulay2
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/Macaulay2/ChangeLog,v 1.8 2007/03/02 23:14:11 markusle Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/Macaulay2/ChangeLog,v 1.9 2007/03/06 08:30:15 opfer Exp $
- 02 Mar 2007; Markus Dittrich <markusle@gentoo.org>
- +files/Macaulay2-0.9.95-cpp-fix.patch,
- +files/Macaulay2-0.9.95-test-fix.patch, Macaulay2-0.9.95.ebuild:
- Fixed multiple compile issues and testing should now work.
+*Macaulay2-0.9.95-r1 (06 Mar 2007)
- 22 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
- Redigest for Manifest2
+ 06 Mar 2007; Christian Faulhammer <opfer@gentoo.org>
+ +files/70Macaulay2-gentoo.el, +Macaulay2-0.9.95-r1.ebuild:
+ revision bump, enabling emacs when requested; added some quotes
-*Macaulay2-0.9.95 (12 Nov 2006)
-
- 12 Nov 2006; Markus Dittrich <markusle@gentoo.org>
- +files/Macaulay2-0.9.95-etags-gentoo.patch, +Macaulay2-0.9.95.ebuild:
- Version bump (see bug #128066).
-
- 23 Mar 2005; Seemant Kulleen <seemant@gentoo.org> Macaulay2-0.9.2.ebuild:
- change dep from net-www/mozilla to www-client/mozilla
-
- 23 Mar 2005; Seemant Kulleen <seemant@gentoo.org> :
- change dep from net-www/epiphany to www-client/epiphany
-
- 18 Mar 2005; Seemant Kulleen <seemant@gentoo.org> Macaulay2-0.9.2.ebuild:
- epiphany and firefox are in www-client
-
-*Macaulay2-0.9.2 (28 Dec 2004)
-
- 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
- +files/gentoo-Macaulay2-0.9.2.diff, +files/gentoo-factory-1.3b.diff,
- +files/gentoo-libfac-0.3.2.include.diff, +Macaulay2-0.9.2.ebuild:
- Moved from app-sci/Macaulay2 to sci-mathematics/Macaulay2.
-
- 13 Dec 2004; Patrick Kursawe <phosphan@gentoo.org>
- files/gentoo-Macaulay2-0.9.2.diff, files/gentoo-factory-1.3b.diff,
- Macaulay2-0.9.2.ebuild:
- Extending patches to get the program through gcc 3.4
-
-*Macaulay2-0.9.2 (19 May 2004)
-
- 19 May 2004; Thomas Veith <xtv@gentoo.org> Macaulay2-0.9.2.ebuild,
-metadata.xml, Manifest, files/{gentoo-factory-1.3b.diff,
-gentoo-libfac-0.3.2.include.diff, gentoo-Macaulay2-0.9.2.diff,
-digest-Macaulay2-0.9.2} :
- Initial import.
- research tool for commutative algebra and algebraic geometry
diff --git a/sci-mathematics/Macaulay2/Macaulay2-0.9.95-r1.ebuild b/sci-mathematics/Macaulay2/Macaulay2-0.9.95-r1.ebuild
new file mode 100644
index 000000000000..f630305690b2
--- /dev/null
+++ b/sci-mathematics/Macaulay2/Macaulay2-0.9.95-r1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/Macaulay2/Macaulay2-0.9.95-r1.ebuild,v 1.1 2007/03/06 08:30:15 opfer Exp $
+
+inherit elisp-common eutils flag-o-matic toolchain-funcs autotools
+
+IUSE="emacs"
+
+DESCRIPTION="research tool for commutative algebra and algebraic geometry"
+SRC_URI="http://www.math.uiuc.edu/Macaulay2/Downloads/${P}-src.tar.gz
+ ftp://www.mathematik.uni-kl.de/pub/Math/Singular/Factory/factory-3-0-2.tar.gz \
+ ftp://www.mathematik.uni-kl.de/pub/Math/Singular/Libfac/libfac-3-0-2.tar.gz"
+
+HOMEPAGE="http://www.math.uiuc.edu/Macaulay2/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+DEPEND="sys-libs/gdbm
+ dev-libs/gmp
+ dev-libs/ntl
+ dev-libs/boehm-gc
+ virtual/blas
+ virtual/lapack
+ dev-util/ctags
+ sys-libs/ncurses
+ emacs? ( virtual/emacs )"
+
+SITEFILE=70Macaulay2.el
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-etags-gentoo.patch
+ epatch "${FILESDIR}"/${P}-cpp-fix.patch
+ epatch "${FILESDIR}"/${P}-test-fix.patch
+}
+
+src_compile() {
+ cd "${WORKDIR}/factory"
+ econf --enable-NTL --prefix="${WORKDIR}" || \
+ die "failed to configure factory"
+ emake || die "failed to build factory"
+ make install || die "failed to install factory"
+
+ cd "${WORKDIR}/libfac"
+ CPPFLAGS="-I${WORKDIR}/include" ./configure --with-NOSTREAMIO \
+ --prefix="${WORKDIR}" || die "failed to configure libfac"
+ make DEFS=-DHAVE_SINGULAR_ERROR || die "failed to build libfac"
+ make install || die "failed to install libfac"
+
+ CXXFLAGS="${CXXFLAGS} -Wno-deprecated"
+ cd "${S}"
+ sed -e "/^docm2RelDir/s:Macaulay2:${P}:" \
+ -i include/config.Makefile.in || \
+ die "failed to fix makefile"
+ make && CPPFLAGS="-I/usr/include/gc -I${WORKDIR}/include" \
+ LDFLAGS="-L${WORKDIR}/lib" \
+ ./configure --prefix="${D}/usr" --disable-encap \
+ --with-lapacklibs="-llapack -lblas" || \
+ die "failed to configure Macaulay"
+ # fix install paths
+ make || die "failed to build Macaulay"
+}
+
+src_test() {
+ cd "${S}"
+ make check || die "tests failed"
+}
+
+src_install () {
+ cd "${S}"
+ make install || die "install failed"
+
+ # nothing in here, get rid of it
+ rm -fr "${D}"/usr/lib || die "failed to remove empty /usr/lib"
+
+ use emacs && elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+}
+
+pkg_postinstall() {
+ if use emacs; then
+ elisp-site-regen
+ elog "If you want to set a hot key for Macaulay2 in Emacs add a line similar to"
+ elog "(global-set-key [ f12 ] 'M2)"
+ elog "in order to set it to F12 (or choose a different one."
+ fi
+}
+pkg_postrm() {
+ use emacs && elisp-site-regen
+} \ No newline at end of file
diff --git a/sci-mathematics/Macaulay2/Manifest b/sci-mathematics/Macaulay2/Manifest
index 67a713b5ee7f..d1cd978f0f91 100644
--- a/sci-mathematics/Macaulay2/Manifest
+++ b/sci-mathematics/Macaulay2/Manifest
@@ -1,3 +1,10 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX 70Macaulay2-gentoo.el 57 RMD160 07b266ed45b28e5ebe7ee8e46ea73571a401dea3 SHA1 877ac4fd55e2b42922212bce587c2aa68e010bf2 SHA256 427d14300a958b0970837191006641f5e1c9952cf3492c640bc1e8c223b221f5
+MD5 de9beb91fd1c9483a848f8187e6ea09d files/70Macaulay2-gentoo.el 57
+RMD160 07b266ed45b28e5ebe7ee8e46ea73571a401dea3 files/70Macaulay2-gentoo.el 57
+SHA256 427d14300a958b0970837191006641f5e1c9952cf3492c640bc1e8c223b221f5 files/70Macaulay2-gentoo.el 57
AUX Macaulay2-0.9.95-cpp-fix.patch 519 RMD160 0b06c11bb534ae8b1367c1339a9515d514d619b8 SHA1 4d238ea61a64374927e5908595078ade568df047 SHA256 9a3a2e4bc96559381f2f96dc161a55cdb9a7237d78a4cf8f37c62d58c96fcee2
MD5 24e1c59131eb24e13027702e190463de files/Macaulay2-0.9.95-cpp-fix.patch 519
RMD160 0b06c11bb534ae8b1367c1339a9515d514d619b8 files/Macaulay2-0.9.95-cpp-fix.patch 519
@@ -32,14 +39,18 @@ EBUILD Macaulay2-0.9.2.ebuild 2600 RMD160 1b3bf18a002df690b2d302eb61cf97244df681
MD5 b11d53b3b8b20ea3fbe1df72b24eb987 Macaulay2-0.9.2.ebuild 2600
RMD160 1b3bf18a002df690b2d302eb61cf97244df681e3 Macaulay2-0.9.2.ebuild 2600
SHA256 a18e980fe1de775bb0d7b966235810dc925608b54a87c9b59f2e5f8d11a8fc97 Macaulay2-0.9.2.ebuild 2600
+EBUILD Macaulay2-0.9.95-r1.ebuild 2586 RMD160 e706bc79ec3e569769c55b83489f566f91ad57f6 SHA1 746a24c3e9f428848ac6d85c4c9a957b363b1646 SHA256 28eae622e5dc85117fdf4790fb4c2d2da70f7253bfd1d2ed6b98b00b39ff7c15
+MD5 2733b6e1a4fccf3dd2e9671471ab33bf Macaulay2-0.9.95-r1.ebuild 2586
+RMD160 e706bc79ec3e569769c55b83489f566f91ad57f6 Macaulay2-0.9.95-r1.ebuild 2586
+SHA256 28eae622e5dc85117fdf4790fb4c2d2da70f7253bfd1d2ed6b98b00b39ff7c15 Macaulay2-0.9.95-r1.ebuild 2586
EBUILD Macaulay2-0.9.95.ebuild 2147 RMD160 ed39d7fca6ecfdccb9d810b3b81a24e17f0752f6 SHA1 b4db99dfd1c098f1132042c99c7c575f1844c0e2 SHA256 9df93e965de641124ad4973003f545f99d6be221b2ff1781a0154acd6c8bbd13
MD5 7c2cdfaf8b22d7ed13b94f7a84d6a8ec Macaulay2-0.9.95.ebuild 2147
RMD160 ed39d7fca6ecfdccb9d810b3b81a24e17f0752f6 Macaulay2-0.9.95.ebuild 2147
SHA256 9df93e965de641124ad4973003f545f99d6be221b2ff1781a0154acd6c8bbd13 Macaulay2-0.9.95.ebuild 2147
-MISC ChangeLog 1925 RMD160 fc3c3876065594a588958e1cbcb282a2ef95eb8a SHA1 b2916c9ff17462141097b8124401dddefdbf498e SHA256 c0dec5da1eb2ec21ecd7a38dc6af359c9cd37c220ba42e60f35f206d9159adfd
-MD5 f960faa982e15e75f2a868f8c509966a ChangeLog 1925
-RMD160 fc3c3876065594a588958e1cbcb282a2ef95eb8a ChangeLog 1925
-SHA256 c0dec5da1eb2ec21ecd7a38dc6af359c9cd37c220ba42e60f35f206d9159adfd ChangeLog 1925
+MISC ChangeLog 441 RMD160 b87f92443aebc06a8dae5f6518a6661766839802 SHA1 25ac767c0f1c7733c814f28c20576222de0e968d SHA256 0133a63a8af53fd5d01dd69ccfef88c46079d85c90121fd90eea6c0526b0c137
+MD5 15ba072da9320c8a41e140801b2bd9e9 ChangeLog 441
+RMD160 b87f92443aebc06a8dae5f6518a6661766839802 ChangeLog 441
+SHA256 0133a63a8af53fd5d01dd69ccfef88c46079d85c90121fd90eea6c0526b0c137 ChangeLog 441
MISC metadata.xml 467 RMD160 55a9d3716d9efee869202e289dbae72403a6dd1b SHA1 0e5160029c89907b18624b95285472007542f52b SHA256 3f550d75544118b43295756f3246bc13f7f7505ae1c864bbad1eab6c98bc95d4
MD5 4cee2e2e6dc692ef8144c0d26792fddc metadata.xml 467
RMD160 55a9d3716d9efee869202e289dbae72403a6dd1b metadata.xml 467
@@ -50,3 +61,13 @@ SHA256 e1fc793efc22ff4b2b7632aa850c877ec19593029303b5fd24b81618c9bf3ed9 files/di
MD5 cd82649f0bc2d6a6a4fed7e99b4793ea files/digest-Macaulay2-0.9.95 741
RMD160 3a82694908cc80cbead7ccfd1e469add1481f564 files/digest-Macaulay2-0.9.95 741
SHA256 a117e6bf87ddc01227f74d12b4661d317e08a70003fca67e50120b4346c9bea6 files/digest-Macaulay2-0.9.95 741
+MD5 cd82649f0bc2d6a6a4fed7e99b4793ea files/digest-Macaulay2-0.9.95-r1 741
+RMD160 3a82694908cc80cbead7ccfd1e469add1481f564 files/digest-Macaulay2-0.9.95-r1 741
+SHA256 a117e6bf87ddc01227f74d12b4661d317e08a70003fca67e50120b4346c9bea6 files/digest-Macaulay2-0.9.95-r1 741
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+iD8DBQFF7SZgNQqtfCuFneMRAvM/AJ9BlY9RSSwLDZBkn64amxBjSphHJgCghLhT
+2Q7uRV7dsMz98OTnQRXtX0M=
+=Pgyp
+-----END PGP SIGNATURE-----
diff --git a/sci-mathematics/Macaulay2/files/70Macaulay2-gentoo.el b/sci-mathematics/Macaulay2/files/70Macaulay2-gentoo.el
new file mode 100644
index 000000000000..84c0a8c8c3d0
--- /dev/null
+++ b/sci-mathematics/Macaulay2/files/70Macaulay2-gentoo.el
@@ -0,0 +1,3 @@
+;; sci-mathematics/Macaulay2 init file
+
+(load "M2-init")
diff --git a/sci-mathematics/Macaulay2/files/digest-Macaulay2-0.9.95-r1 b/sci-mathematics/Macaulay2/files/digest-Macaulay2-0.9.95-r1
new file mode 100644
index 000000000000..0a31d1cb256d
--- /dev/null
+++ b/sci-mathematics/Macaulay2/files/digest-Macaulay2-0.9.95-r1
@@ -0,0 +1,9 @@
+MD5 83a7a7fbfa0bc016cc2525cc0f221694 Macaulay2-0.9.95-src.tar.gz 2875836
+RMD160 f3c5ad889e89d238ca3ede40e692bc42744861a8 Macaulay2-0.9.95-src.tar.gz 2875836
+SHA256 3fd4698d82de76a8356d24dfdba2775794231b5723ee3fda232ce2f0d1e6360a Macaulay2-0.9.95-src.tar.gz 2875836
+MD5 9b1fac924bc754339989d617946ea8c4 factory-3-0-2.tar.gz 503712
+RMD160 3cfaa7e438af75fb1c00501099c0d6c88fbfdd8b factory-3-0-2.tar.gz 503712
+SHA256 463a29232f9e187014bd53bb726cf1628f929ee830fa63d445dcc9a45403d8ed factory-3-0-2.tar.gz 503712
+MD5 d94415a24186bfd4bdb6df491a58d173 libfac-3-0-2.tar.gz 87369
+RMD160 847103ae3fcc870188630028965086c3933a2009 libfac-3-0-2.tar.gz 87369
+SHA256 3fae688d7471e137834e9f89e5677e2ded4d578942b54ce7efa536817799fa74 libfac-3-0-2.tar.gz 87369