blob: 32e12a417e75d65fff1f732b640ddcbfb8a842d9 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="A gene structure prediction pipeline"
LICENSE="as-is"
HOMEPAGE="http://mblab.wustl.edu/software/twinscan"
SLOT="0"
IUSE=""
KEYWORDS="~x86"
SRC_URI="http://mblab.wustl.edu/software/download/iscan-${PV}.tar_.gz"
S="${WORKDIR}/N-SCAN"
RDEPEND="sci-biology/repeatmasker"
src_unpack() {
unpack ${A}
tar -C "${WORKDIR}" -xf iscan-${PV}.tar_
sed -i "s|\(use strict;\)|\1\nuse lib \"/usr/share/${PN}/lib/perl5\";|" "${S}"/bin/*.pl || die
}
src_install() {
dobin "${S}/bin/iscan"
dobin "${S}/bin/"*".pl"
insinto /usr/share/${PN}
doins -r "${S}/parameters"
doins -r "${S}/lib"
dodoc examples/* README*
}
|