blob: 63eb84a098c15c1943ffa3107aa39bfaf63e1ba5 (
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
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit java-pkg-2
DESCRIPTION="Variant detection (germline, multi-sample, somatic mutations, CNA, SNP calls)"
HOMEPAGE="http://varscan.sourceforge.net/"
# binary
#http://downloads.sourceforge.net/project/varscan/VarScan.v2.3.7.jar
#SRC_URI="http://downloads.sourceforge.net/project/varscan/${PN}.v${PV}.jar"
SRC_URI="http://downloads.sourceforge.net/project/varscan/${PN}.v${PV}.source.jar"
LICENSE="Non-profit-OSL-3.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="
>=virtual/jdk-1.5:*
!sci-biology/VarScan-bin"
RDEPEND=">=virtual/jre-1.5:*"
S="${WORKDIR}"/net/sf/varscan
src_compile(){
javac *.java
}
src_install(){
java-pkg_newjar "${DISTDIR}"/${PN}.v${PV}.source.jar ${PN}.source.jar
java-pkg_dolauncher VarScan
}
|