blob: fb7ec5304542fbed3edd1ceaf365fbdcbf20d820 (
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-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/qtoctave/qtoctave-0.9.1-r1.ebuild,v 1.5 2013/03/02 23:25:44 hwoarang Exp $
EAPI="2"
CMAKE_IN_SOURCE_BUILD=1
inherit eutils cmake-utils
PID=1760
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/${PID}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=">=dev-qt/qtgui-4.5:4
>=dev-qt/qtsvg-4.5:4"
RDEPEND="${DEPEND}
>=sci-mathematics/octave-3.2.0"
S="${WORKDIR}/${P}"
DOCS="readme.txt leeme.txt"
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.9.1-qtinfo.patch
epatch "${FILESDIR}"/${PN}-0.9.1-qt-version.patch
epatch "${FILESDIR}"/${PN}-0.9.1-doc-path.patch
epatch "${FILESDIR}"/${PN}-0.8.1-gcc4.4.patch
}
src_configure() {
mycmakeargs=(-DCMAKE_SKIP_RPATH:BOOL=YES )
cmake-utils_src_configure
}
|