aboutsummaryrefslogtreecommitdiff
blob: 3a1d692d97f276e7ff8a014146a9f3f95c5d7a6c (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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Tool for extracting data from graphs"
HOMEPAGE="http://koti.welho.com/jfrantz/software/g3data.html"
SRC_URI="http://koti.welho.com/jfrantz/software/${P}.tar.gz"

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

RDEPEND=">=x11-libs/gtk+-2.6.0
	media-libs/imlib"
DEPEND="${RDEPEND}
	~app-text/docbook-sgml-utils-0.6.14"

src_compile() {
	emake || die "emake failed"
}

src_install() {
	dobin g3data || die "dobin failed - no binary!"
	doman g3data.1.gz || die "doman failed"
	if use examples; then
		insinto ${DESTDIR}usr/share/doc/${PF}/
		dodoc README.TEST
		doins test1.png test1.values test2.png test2.values
	fi
	dodoc README.SOURCE
}