summaryrefslogtreecommitdiff
blob: 766ae3de5899e7d891c9a7d03466477e1d22a0ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/qtoctave/qtoctave-0.8.2.ebuild,v 1.1 2009/08/25 01:48:08 markusle Exp $

EAPI="2"

CMAKE_IN_SOURCE_BUILD=1
inherit cmake-utils

DESCRIPTION="QtOctave is a Qt4 front-end for Octave"
HOMEPAGE="http://forja.rediris.es/projects/csl-qtoctave/"
SRC_URI="http://forja.rediris.es/frs/download.php/1383/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="x11-libs/qt-gui:4
		x11-libs/qt-svg:4"

RDEPEND="${DEPEND}
		>=sci-mathematics/octave-3.0.0"

S="${WORKDIR}"/${P}/${PN}


src_prepare() {
	epatch "${FILESDIR}"/${PN}-0.8.1-gcc4.4.patch
}

src_compile() {
	mycmakeargs="-DCMAKE_SKIP_RPATH:BOOL=YES"
	cmake-utils_src_compile
}

src_install() {
	cmake-utils_src_install
	dodoc readme.txt news.txt
}