summaryrefslogtreecommitdiff
blob: 288295e09a01835da5f7bdbf417445fe8ecaedbe (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-sci/qrna/qrna-2.0.2c.ebuild,v 1.3 2004/07/23 15:59:01 squinky86 Exp $

DESCRIPTION="Prototype ncRNA genefinder"
HOMEPAGE="http://www.genetics.wustl.edu/eddy/software/"
SRC_URI="ftp://ftp.genetics.wustl.edu/pub/eddy/software/qrna.tar.Z"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE="perl"

DEPEND="perl? ( dev-lang/perl )
	virtual/libc"

src_compile () {
	cd ${S}/squid
	emake || die
	cd ${S}/src
	emake || die
}

src_install () {
	dobin src/qrna
	use perl && dobin scripts/*

	newdoc 00README README
	insinto /usr/share/doc/${PF}
	doins documentation/*

	insinto /usr/share/${PN}/data
	doins lib/*
	insinto /usr/share/${PN}/demos
	doins Demos/*

	# Sets the path to the QRNA data files.
	insinto /etc/env.d
	doins ${FILESDIR}/26qrna
}