blob: c15c610ed329cee01f2f0da4ee23a7915b3aa07b (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/gatk/gatk-1.2.ebuild,v 1.1 2011/10/31 21:18:17 weaver Exp $
EAPI=4
MY_HASH=885c33a
EGIT_REPO_URI="https://github.com/broadgsa/gatk.git"
EANT_BUILD_TARGET="dist"
EANT_NEEDS_TOOLS="true"
JAVA_ANT_REWRITE_CLASSPATH="true"
#inherit java-pkg-2 java-ant-2 git
inherit java-pkg-2 java-ant-2
DESCRIPTION="The Genome Analysis Toolkit"
HOMEPAGE="http://www.broadinstitute.org/gsa/wiki/index.php/The_Genome_Analysis_Toolkit"
SRC_URI="https://github.com/broadgsa/gatk/tarball/${PV} -> ${P}.tar.gz"
LICENSE="as-is"
SLOT="0"
IUSE=""
KEYWORDS="~amd64"
COMMON_DEPS=""
DEPEND=">=virtual/jdk-1.6
${COMMON_DEPS}"
RDEPEND=">=virtual/jre-1.6
${COMMON_DEPS}"
S="${WORKDIR}/broadgsa-gatk-${MY_HASH}"
src_prepare() {
sed -i '/property name="ivy.home"/ s|${user.home}|'${WORKDIR}'|' build.xml || die
java-pkg-2_src_prepare
}
src_install() {
java-pkg_dojar dist/*.jar
java-pkg_dolauncher GenomeAnalysisTK --jar GenomeAnalysisTK.jar
java-pkg_dolauncher AnalyzeCovariates --jar AnalyzeCovariates.jar
}
|