summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-09-25 19:27:57 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-09-25 19:27:57 +0000
commit4d73956016eb8422dd8fe8a6927bb8284c99be17 (patch)
tree587f6b06cf05082195f50ea3fe96112c937f10d1 /sci-mathematics
parentCleanup. (diff)
downloadgentoo-2-4d73956016eb8422dd8fe8a6927bb8284c99be17.tar.gz
gentoo-2-4d73956016eb8422dd8fe8a6927bb8284c99be17.tar.bz2
gentoo-2-4d73956016eb8422dd8fe8a6927bb8284c99be17.zip
Version bump.
(Portage version: 2.1.3.9)
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/freemat/ChangeLog7
-rw-r--r--sci-mathematics/freemat/files/digest-freemat-3.53
-rw-r--r--sci-mathematics/freemat/freemat-3.5.ebuild48
3 files changed, 57 insertions, 1 deletions
diff --git a/sci-mathematics/freemat/ChangeLog b/sci-mathematics/freemat/ChangeLog
index 0d76c5915f94..0815282a7e49 100644
--- a/sci-mathematics/freemat/ChangeLog
+++ b/sci-mathematics/freemat/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-mathematics/freemat
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/ChangeLog,v 1.4 2007/08/26 13:01:30 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/ChangeLog,v 1.5 2007/09/25 19:27:56 bicatali Exp $
+
+*freemat-3.5 (25 Sep 2007)
+
+ 25 Sep 2007; Sébastien Fabbro <bicatali@gentoo.org> +freemat-3.5.ebuild:
+ Version bump.
26 Aug 2007; Sébastien Fabbro <bicatali@gentoo.org> freemat-3.4.ebuild:
portaudio flag properly added
diff --git a/sci-mathematics/freemat/files/digest-freemat-3.5 b/sci-mathematics/freemat/files/digest-freemat-3.5
new file mode 100644
index 000000000000..bf9cab84bb57
--- /dev/null
+++ b/sci-mathematics/freemat/files/digest-freemat-3.5
@@ -0,0 +1,3 @@
+MD5 4cc41c1f9265a86134fd338076d1a65f FreeMat-3.5.tar.gz 5616432
+RMD160 bf1fe57208d8ec8de283c6bbf20ceb454d182b57 FreeMat-3.5.tar.gz 5616432
+SHA256 cd19e6734ca091cd6f32f945c3a249be377c1874a0347870c879c807ceb46e3a FreeMat-3.5.tar.gz 5616432
diff --git a/sci-mathematics/freemat/freemat-3.5.ebuild b/sci-mathematics/freemat/freemat-3.5.ebuild
new file mode 100644
index 000000000000..f94fbba5b3a9
--- /dev/null
+++ b/sci-mathematics/freemat/freemat-3.5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/freemat-3.5.ebuild,v 1.1 2007/09/25 19:27:56 bicatali Exp $
+
+inherit eutils flag-o-matic autotools qt4
+
+MY_PN=FreeMat
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Environment for rapid engineering and scientific prototyping and data processing"
+HOMEPAGE="http://freemat.sourceforge.net/"
+SRC_URI="mirror://sourceforge/freemat/${MY_P}.tar.gz"
+
+IUSE="ncurses ffcall fftw umfpack arpack portaudio"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="dev-libs/libpcre
+ virtual/lapack
+ dev-util/pkgconfig
+ ncurses? ( >=sys-libs/ncurses-5.4 )
+ umfpack? ( sci-libs/umfpack )
+ arpack? ( sci-libs/arpack )
+ fftw? ( >=sci-libs/fftw-3 )
+ portaudio? ( media-libs/portaudio )"
+
+RDEPEND="${DEPEND}
+ ffcall? ( dev-libs/ffcall )"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ # -O3 still doesn't compile freemat-3.5
+ replace-flags -O3 -O2
+ econf $(use_with ncurses) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README AUTHORS ChangeLog || die "dodoc failed"
+}
+
+pkg_postint() {
+ einfo "Initializing freemat data directory"
+ FreeMat -i /usr/share/${MY_P}
+}