aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrozin <grozin@32389bae-6d03-0410-99cf-db05cde120eb>2006-06-30 15:07:37 +0000
committergrozin <grozin@32389bae-6d03-0410-99cf-db05cde120eb>2006-06-30 15:07:37 +0000
commitf7f4df6ad968f58ef734c05fb416dbcb7d765d1d (patch)
tree7ad672a11ba208dde3ea4b6e86c4ba87068bb917 /sci-mathematics/freemat
parentnew version: texmacs-1.0.6.4 (diff)
downloadsci-f7f4df6ad968f58ef734c05fb416dbcb7d765d1d.tar.gz
sci-f7f4df6ad968f58ef734c05fb416dbcb7d765d1d.tar.bz2
sci-f7f4df6ad968f58ef734c05fb416dbcb7d765d1d.zip
added: freemat-2.0
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@256 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-mathematics/freemat')
-rw-r--r--sci-mathematics/freemat/ChangeLog9
-rw-r--r--sci-mathematics/freemat/Manifest24
-rw-r--r--sci-mathematics/freemat/files/Inspect.cpp.patch9
-rw-r--r--sci-mathematics/freemat/files/acinclude.m4.patch12
-rw-r--r--sci-mathematics/freemat/files/digest-freemat-2.03
-rw-r--r--sci-mathematics/freemat/freemat-2.0.ebuild42
-rw-r--r--sci-mathematics/freemat/metadata.xml17
7 files changed, 116 insertions, 0 deletions
diff --git a/sci-mathematics/freemat/ChangeLog b/sci-mathematics/freemat/ChangeLog
new file mode 100644
index 000000000..8d5b6eaeb
--- /dev/null
+++ b/sci-mathematics/freemat/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sci-mathematics/freemat
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*freemat-2.0 (30 June 2006)
+
+ 30 June 2006; Andrey Grozin <A.G.Grozin@inp.nsk.su>
+ +metadata.xml, +freemat-2.0.ebuild, +files/acinclude.m4.patch, +files/Inspect.cpp.patch:
+ Initial import
diff --git a/sci-mathematics/freemat/Manifest b/sci-mathematics/freemat/Manifest
new file mode 100644
index 000000000..ee1d66c08
--- /dev/null
+++ b/sci-mathematics/freemat/Manifest
@@ -0,0 +1,24 @@
+AUX Inspect.cpp.patch 459 RMD160 7d1d7e69f6e7e58f335b1882b39f143898c1d8eb SHA1 b070b831144f2c12b69cffb6be39f11bff12cdfb SHA256 b4253ddc6814acf3a33816846d283a94a3984c8570430f1e5cb6a0b3d5712f5d
+MD5 90a2b60b8408147ac9cc9dfa2b6a778b files/Inspect.cpp.patch 459
+RMD160 7d1d7e69f6e7e58f335b1882b39f143898c1d8eb files/Inspect.cpp.patch 459
+SHA256 b4253ddc6814acf3a33816846d283a94a3984c8570430f1e5cb6a0b3d5712f5d files/Inspect.cpp.patch 459
+AUX acinclude.m4.patch 438 RMD160 e0cff3f3e304057c6a824f9b70dfd63334e76969 SHA1 bb0e4ec60bc6e86cad30520d2b9a245905a75369 SHA256 02c7d29b76da652ad8cd576379f6bef627f53ad854854ad1617bba8fcc37ff99
+MD5 cf1ef0f47707a6eb71dbc9ed5428738b files/acinclude.m4.patch 438
+RMD160 e0cff3f3e304057c6a824f9b70dfd63334e76969 files/acinclude.m4.patch 438
+SHA256 02c7d29b76da652ad8cd576379f6bef627f53ad854854ad1617bba8fcc37ff99 files/acinclude.m4.patch 438
+DIST FreeMat-2.0.tar.gz 16338697 RMD160 16a4e72a72cce9c7eae26b944fa904ac0b4c05c1 SHA1 d56540137c67215c3466366d7e37962f52003023 SHA256 52a82a06258267fed9a5a4a87ef5efe1dffd6b434eb9d1c6313d7a023faefb05
+EBUILD freemat-2.0.ebuild 949 RMD160 2fe4f08cc734ae2c2cd12669f201b0228fa63cb8 SHA1 a3140bb18e2361fc1f8f1e1147b158579a4e0a8b SHA256 20b8bd91da05e4f048a3496be03c87bc8e0662f43347a6ca03bfafac7aef5911
+MD5 c2a6f83fc97d7374d2f5db309686eb5e freemat-2.0.ebuild 949
+RMD160 2fe4f08cc734ae2c2cd12669f201b0228fa63cb8 freemat-2.0.ebuild 949
+SHA256 20b8bd91da05e4f048a3496be03c87bc8e0662f43347a6ca03bfafac7aef5911 freemat-2.0.ebuild 949
+MISC ChangeLog 315 RMD160 28a3c6accbb733a45e5be16abcb706546735b625 SHA1 05cae268e0ae0176c3260126e4dfdb79f9895335 SHA256 0fecb88bda981b22bca141faf41aaf057637a5bd604f00c04ca8d29713b74818
+MD5 cf2cfad58704d18482b46c273e2a5f80 ChangeLog 315
+RMD160 28a3c6accbb733a45e5be16abcb706546735b625 ChangeLog 315
+SHA256 0fecb88bda981b22bca141faf41aaf057637a5bd604f00c04ca8d29713b74818 ChangeLog 315
+MISC metadata.xml 712 RMD160 a142da8c64755da0d4dc45d1b0d5c3811fe159fa SHA1 dc9c3a828d4c7331fede1ede93e822992c6936ce SHA256 f9d0640b22cf6108fa24ee570c08711de6557691b860faad2ef33d5135802f38
+MD5 7e2ade75b6fa81df0d9a518a653a1c72 metadata.xml 712
+RMD160 a142da8c64755da0d4dc45d1b0d5c3811fe159fa metadata.xml 712
+SHA256 f9d0640b22cf6108fa24ee570c08711de6557691b860faad2ef33d5135802f38 metadata.xml 712
+MD5 fed9b5e29d99597813b256e0af65ad74 files/digest-freemat-2.0 241
+RMD160 19a572adb5d75cb933aac44b6ad879e8b01c9edf files/digest-freemat-2.0 241
+SHA256 1cb929cd39a788f4c69deb8fb2df5b382877d4dc30b5d62400812900426e33f9 files/digest-freemat-2.0 241
diff --git a/sci-mathematics/freemat/files/Inspect.cpp.patch b/sci-mathematics/freemat/files/Inspect.cpp.patch
new file mode 100644
index 000000000..17440a8c2
--- /dev/null
+++ b/sci-mathematics/freemat/files/Inspect.cpp.patch
@@ -0,0 +1,9 @@
+--- libs/libCore/Inspect.cpp.orig 2006-06-06 01:31:17.000000000 +0200
++++ libs/libCore/Inspect.cpp 2006-06-30 22:47:25.000000000 +0200
+@@ -150,5 +150,5 @@
+ dir = QDir(QString(io->getAppPath().c_str()) + "/../Resources/help/html");
+ } else {
+- dir = QDir(QString(BASEPATH)+"/html");
++ dir = QDir(QString(io->getAppPath().c_str())+"/"+QString(BASEPATH)+"/help/html");
+ }
+ HelpWindow *m_helpwin = new HelpWindow(dir.canonicalPath());
diff --git a/sci-mathematics/freemat/files/acinclude.m4.patch b/sci-mathematics/freemat/files/acinclude.m4.patch
new file mode 100644
index 000000000..2c5370967
--- /dev/null
+++ b/sci-mathematics/freemat/files/acinclude.m4.patch
@@ -0,0 +1,12 @@
+--- acinclude.m4.orig 2006-06-17 00:03:28.000000000 +0200
++++ acinclude.m4 2006-06-17 00:01:49.000000000 +0200
+@@ -292,4 +292,9 @@
+ LIBS="-lumfpack $LIBS"
+ fi
++AC_CHECK_HEADERS(umfpack/umfpack.h)
++if $HAVE_UMFPACK_UMFPACK_H; then
++ CFLAGS="$CFLAGS -I/usr/include/umfpack"
++ CXXFLAGS="$CXXFLAGS -I/usr/include/umfpack"
++fi
+ AC_CHECK_LIB(fftw3f,fftwf_malloc,found_fftw3f="yes",found_fftw3f="no")
+ if test x"$found_fftw3f" == xyes; then
diff --git a/sci-mathematics/freemat/files/digest-freemat-2.0 b/sci-mathematics/freemat/files/digest-freemat-2.0
new file mode 100644
index 000000000..1b032d6de
--- /dev/null
+++ b/sci-mathematics/freemat/files/digest-freemat-2.0
@@ -0,0 +1,3 @@
+MD5 9325893a4babe0b4912c475afd9729e6 FreeMat-2.0.tar.gz 16338697
+RMD160 16a4e72a72cce9c7eae26b944fa904ac0b4c05c1 FreeMat-2.0.tar.gz 16338697
+SHA256 52a82a06258267fed9a5a4a87ef5efe1dffd6b434eb9d1c6313d7a023faefb05 FreeMat-2.0.tar.gz 16338697
diff --git a/sci-mathematics/freemat/freemat-2.0.ebuild b/sci-mathematics/freemat/freemat-2.0.ebuild
new file mode 100644
index 000000000..82f8777a8
--- /dev/null
+++ b/sci-mathematics/freemat/freemat-2.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="Freemat is a free environment for rapid engineering and scientific prototyping and data processing"
+HOMEPAGE="http://freemat.sourceforge.net/"
+
+MY_PN=FreeMat
+MY_P="${MY_PN}-${PV}"
+
+RESTRICT="nomirror"
+SRC_URI="mirror://sourceforge/freemat/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND=">=sys-libs/ncurses-5.4-r5 virtual/blas virtual/lapack dev-libs/ffcall\
+ sci-libs/umfpack sci-libs/arpack sci-libs/matio"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ find -name '*.moc.cpp' | xargs rm -f
+ epatch "${FILESDIR}/acinclude.m4.patch"
+ epatch "${FILESDIR}/Inspect.cpp.patch"
+}
+
+src_compile() {
+ autoconf
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "install failed"
+ dodoc README AUTHORS ChangeLog
+}
diff --git a/sci-mathematics/freemat/metadata.xml b/sci-mathematics/freemat/metadata.xml
new file mode 100644
index 000000000..e236cf5d3
--- /dev/null
+++ b/sci-mathematics/freemat/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<maintainer>
+<email>A.G.Grozin@inp.nsk.su</email>
+<name>Andrey Grozin</name>
+</maintainer>
+<longdescription lang="en">
+FreeMat is a free environment for rapid engineering and scientific prototyping
+and data processing. It is similar to commercial systems such as MATLAB from Mathworks,
+and IDL from Research Systems, but is Open Source. FreeMat includes several
+novel features such as a codeless interface to external C/C++/FORTRAN code,
+parallel/distributed algorithm development (via MPI), and plotting
+and visualization capabilities.
+</longdescription>
+</pkgmetadata>