summaryrefslogtreecommitdiff
blob: a97e1a4d3a83a6f5812a34fcb856a0f8591efe16 (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
41
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/finchtv/finchtv-1.3.1-r1.ebuild,v 1.1 2008/12/20 23:38:57 je_fro Exp $

DESCRIPTION="A cross-platform graphical viewer for chromatogram files."
HOMEPAGE="http://www.geospiza.com/finchtv/"

MY_PV="${PV//./_}"
MY_P=${PN}_${MY_PV}

SRC_URI="http://www.geospiza.com/finchtv/download/programs/linux/${MY_P}.tar.gz"

S="${WORKDIR}/${MY_P}"

LICENSE="finchtv"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND=""

src_compile() {
	echo
	einfo "Nothing to compile."
	echo
}

src_install() {

	cd "${S}"
	exeinto /opt/bin
	doexe finchtv || die "Failed to install executable"
	dodoc License.txt ReleaseNotes.txt \
		|| die "Failed to install docs"
	dohtml -r Help/* \
		|| die "Failed to install html docs"
	mv SampleData "${D}"/usr/share/doc/${PF}/ \
		|| die "Failed to move SampleData"

}