blob: 474271790e581628ea5c81a43aa58fea6a82b3d3 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qmatplot/qmatplot-0.4.2-r1.ebuild,v 1.2 2008/04/19 13:58:31 markusle Exp $
inherit eutils
DESCRIPTION="gnuplot-like tool for plotting data sets in either two or three dimensions"
HOMEPAGE="http://qmatplot.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc x86"
IUSE=""
SLOT="0"
DEPEND="=x11-libs/qt-3*
>=sci-mathematics/octave-2.1
>=sci-mathematics/scilab-2.6"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-gentoo.patch
epatch "${FILESDIR}"/${P}-gcc34.patch
epatch "${FILESDIR}"/${P}-gcc-4.patch
}
src_compile() {
addwrite "${QTDIR}/etc/settings"
econf || die "configure failed"
emake QSETTINGSDIR="${QTDIR}/etc/settings/" || die "make failed"
}
src_install() {
make QSETTINGSDIR="${QTDIR}/etc/settings/" DESTDIR="${D}" install || die "install failed"
dodoc ChangeLog AUTHORS
}
|