aboutsummaryrefslogtreecommitdiff
blob: 1fd268d70374ad41fe097b283ecb1c03eaa3a57e (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit java-pkg-2 eutils

DESCRIPTION="display SAM/BAM files and for SNP/indel detection, report coverage in .wig files"
HOMEPAGE="https://cgwb.nci.nih.gov/goldenPath/bamview/documentation/index.html
	https://cgwb.nci.nih.gov/goldenPath/bamview/documentation/bam_utils.html"

# bug #377305
SRC_URI="https://cgwb.nci.nih.gov/cgi-bin/bambino?download_bambino_jar=bundle -> bambino_core_1.02.jar
		https://cgwb.nci.nih.gov/cgi-bin/bambino?download_bambino_jar=core -> bambino_bundle_1.02.jar"

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

DEPEND=">=virtual/jdk-1.6:*"
RDEPEND="${DEPEND}
	>=virtual/jre-1.6:*
	sci-biology/picard
	dev-java/jdbc-mysql"

src_install(){
	insinto "${DESTDIR}"/usr/share/"${PN}"/lib
	doins "${DISTDIR}"/bambino_core_"${PV}".jar || die
	doins "${DISTDIR}"/bambino_bundle_"${PV}".jar || die

	einfo "bambino can be run using 'java -jar /usr/share/bambino/lib/bambino_bundle_1.02.jar'"
	einfo "  or 'java -jar /usr/share/bambino/lib/bambino_core_1.02.jar'"
	einfo "More info at "${HOMEPAGE}

}