blob: d8aa02c19f05cfe31e5776e8432005c6108c298e (
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
42
43
44
45
46
47
48
49
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit java-pkg-2 java-ant-2 python-r1
# [ "$PV" == "9999" ] && inherit subversion
inherit subversion
DESCRIPTION="Viewer of next generation sequence assemblies and alignments"
HOMEPAGE="http://bioinf.scri.ac.uk/tablet/"
if [ "$PV" == "9999" ]; then
ESVN_REPO_URI="http://ics.hutton.ac.uk/svn/tablet/trunk/"
KEYWORDS=""
else
ESVN_REPO_URI="http://ics.hutton.ac.uk/svn/tablet/tags/${PV}"
KEYWORDS=""
fi
LICENSE="Tablet"
SLOT="0"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}
>=virtual/jdk-1.7:*"
RDEPEND="${PYTHON_DEPS}
>=virtual/jre-1.7:*
sci-biology/samtools
sci-biology/picard
dev-db/sqlite:3"
S="${WORKDIR}"
src_install() {
java-pkg_dojar lib/tablet-resources.jar
java-pkg_dojar lib/tablet.jar
java-pkg_dojar lib/flamingo.jar
java-pkg_dojar lib/scri-commons.jar
java-pkg_dojar lib/samtools*.jar
echo "PATH=${EPREFIX}/opt/Tablet" > 99Tablet
doenvd 99Tablet
}
|