diff options
author | grozin <grozin@32389bae-6d03-0410-99cf-db05cde120eb> | 2007-02-26 11:01:17 +0000 |
---|---|---|
committer | grozin <grozin@32389bae-6d03-0410-99cf-db05cde120eb> | 2007-02-26 11:01:17 +0000 |
commit | a8dd0f53e853d783c077a67bb9598cc89f948e3d (patch) | |
tree | 98adc587a0c7112ff02a26f29fadcf92811bb541 /sci-mathematics/freemat/freemat-3.0.ebuild | |
parent | cleanup (diff) | |
download | sci-a8dd0f53e853d783c077a67bb9598cc89f948e3d.tar.gz sci-a8dd0f53e853d783c077a67bb9598cc89f948e3d.tar.bz2 sci-a8dd0f53e853d783c077a67bb9598cc89f948e3d.zip |
freemat-3.0
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@508 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-mathematics/freemat/freemat-3.0.ebuild')
-rw-r--r-- | sci-mathematics/freemat/freemat-3.0.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sci-mathematics/freemat/freemat-3.0.ebuild b/sci-mathematics/freemat/freemat-3.0.ebuild new file mode 100644 index 000000000..cd200bb6a --- /dev/null +++ b/sci-mathematics/freemat/freemat-3.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 autotools + +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}" + +#### delete the next line when moving this ebuild to the main tree! +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 >=x11-libs/qt-4.2" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd ${S} + epatch "${FILESDIR}/${PN}-${PV}.patch" +} + +src_compile() { + eautoconf + econf || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "install failed" + dodoc README AUTHORS ChangeLog +} |