summaryrefslogtreecommitdiff
blob: ccec0120b474872ad2d788a985035eead0e5cff8 (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/picard/picard-1.63.ebuild,v 1.1 2012/02/28 05:27:53 weaver Exp $

EAPI=4

#ESVN_REPO_URI="https://picard.svn.sourceforge.net/svnroot/picard/trunk"
ESVN_REPO_URI="https://picard.svn.sourceforge.net/svnroot/picard/tags/${PV}"

EANT_BUILD_TARGET="all"
JAVA_ANT_REWRITE_CLASSPATH="true"
EANT_NEEDS_TOOLS="true"
WANT_ANT_TASKS="ant-apache-bcel"

inherit subversion java-pkg-2 java-ant-2

DESCRIPTION="Java-based command-line utilities that manipulate SAM files"
HOMEPAGE="http://picard.sourceforge.net/"
SRC_URI=""
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
KEYWORDS="~amd64"

COMMON_DEPS=""
DEPEND=">=virtual/jdk-1.6
	dev-java/ant-apache-bcel:0
	app-arch/zip
	${COMMON_DEPS}"
RDEPEND=">=virtual/jre-1.6
	${COMMON_DEPS}"

src_install() {
	cd dist
	for i in *-${PV}.jar; do java-pkg_newjar $i ${i/-${PV}/}; rm $i; done
	java-pkg_dojar *.jar
	for i in *.jar; do java-pkg_dolauncher ${i/.jar/} --jar $i; done
}