summaryrefslogtreecommitdiff
blob: 487d26adb6fae3ebade2cd530947475f563a4fa3 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit qt3 eutils

DESCRIPTION="Qgfe is a graphical interface to the gnuplot"
HOMEPAGE="http://www.xm1math.net/qgfe/"
SRC_URI="http://www.xm1math.net/qgfe/${P}.tar.bz2"

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

RDEPEND="sci-visualization/gnuplot
	x11-libs/qt:3"

DEPEND="$RDEPEND"

src_compile() {
	eqmake3 qgfe.pro -unix PREFIX=/usr
	emake || die "make failed"
}

src_install() {
	dodoc utilities/AUTHORS
	rm utilities/{COPYING,AUTHORS}
	make install INSTALL_ROOT="${D}" || die "install failed"

	make_desktop_entry qgfe qgfe /usr/share/qgfe/qgfe48x48.png 'Graphics;2DGraphics;'
}