summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-05-20 16:44:52 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-05-20 16:44:52 +0000
commit2f886916feba500a2204b88a16d083a81433c9bf (patch)
tree303834aa713021e0209799a5357fb33dca61944e /sci-mathematics/freemat/freemat-3.6.ebuild
parentFix sqlite dep (diff)
downloadhistorical-2f886916feba500a2204b88a16d083a81433c9bf.tar.gz
historical-2f886916feba500a2204b88a16d083a81433c9bf.tar.bz2
historical-2f886916feba500a2204b88a16d083a81433c9bf.zip
Fixed for gcc-4.3, some includes files and adpated for qt-4.4. Also set some use flags as default
Package-Manager: portage-2.1.5
Diffstat (limited to 'sci-mathematics/freemat/freemat-3.6.ebuild')
-rw-r--r--sci-mathematics/freemat/freemat-3.6.ebuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/sci-mathematics/freemat/freemat-3.6.ebuild b/sci-mathematics/freemat/freemat-3.6.ebuild
index 44c8178328b1..4f1b9c71c38e 100644
--- a/sci-mathematics/freemat/freemat-3.6.ebuild
+++ b/sci-mathematics/freemat/freemat-3.6.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/freemat-3.6.ebuild,v 1.1 2008/03/24 09:48:10 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/freemat-3.6.ebuild,v 1.2 2008/05/20 16:44:51 bicatali Exp $
-inherit eutils qt4 autotools
+EAPI="1"
+inherit eutils autotools
MY_PN=FreeMat
MY_P=${MY_PN}-${PV}
@@ -11,18 +12,20 @@ DESCRIPTION="Environment for rapid engineering and scientific processing"
HOMEPAGE="http://freemat.sourceforge.net/"
SRC_URI="mirror://sourceforge/freemat/${MY_P}.tar.gz"
-IUSE="arpack ffcall fftw ncurses portaudio umfpack"
+IUSE="+arpack ffcall +fftw ncurses portaudio +umfpack"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-RDEPEND="$(qt4_min_version 4.2)
+RDEPEND="|| ( >=x11-libs/qt-4.2:4
+ ( x11-libs/qt-gui:4 x11-libs/qt-opengl:4 ) )
dev-libs/libpcre
virtual/lapack
+ virtual/opengl
ncurses? ( >=sys-libs/ncurses-5.4 )
umfpack? ( sci-libs/umfpack )
arpack? ( sci-libs/arpack )
- fftw? ( >=sci-libs/fftw-3 )
+ fftw? ( >=sci-libs/fftw-3:3.0 )
portaudio? ( media-libs/portaudio )
ffcall? ( dev-libs/ffcall )"
@@ -30,6 +33,7 @@ DEPEND="${RDEPEND}
dev-util/pkgconfig"
QT4_BUILT_WITH_USE_CHECK="opengl"
+
S="${WORKDIR}/${MY_P}"
src_unpack() {
@@ -37,6 +41,7 @@ src_unpack() {
cd "${S}"
# allow enable/disable for configure
epatch "${FILESDIR}"/${P}-optional-deps.patch
+ epatch "${FILESDIR}"/${P}-includes.patch
eautoreconf
}