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

inherit eutils versionator
MY_PV=$(replace_version_separator 1 '_')

DESCRIPTION="Engauge Digitizer converts an image file showing a graph or map, into numbers"
HOMEPAGE="http://digitizer.sourceforge.net/"
SRC_URI="mirror://sourceforge/digitizer/digit-src-${MY_PV}.tar.gz"

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

DEPEND="=x11-libs/qt-3*
	>=sci-libs/fftw-3.1.2"

S="${WORKDIR}/engauge"

src_compile() {
	/usr/qt/3/bin/qmake -unix digitizer.pro
	emake || die "make failed"
}

src_install() {
	dobin bin/engauge
	dodoc README RELEASE
	dohtml usermanual/*
	dodir /usr/share/"${PN}"
	dodir /usr/share/"${PN}"/samples
	insinto /usr/share/"${PN}"/samples
	doins samples/*
}