commit: bee1add2f405f7e728e35c473d6cc85acd05e0e6 Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> AuthorDate: Tue Nov 15 19:13:13 2016 +0000 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> CommitDate: Tue Nov 15 19:13:13 2016 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=bee1add2
sci-biology/VarScan: install upstream jar with *.java and *.class files Package-Manager: portage-2.3.2 .../VarScan/{VarScan-2.3.7.ebuild => VarScan-2.4.2.ebuild} | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/sci-biology/VarScan/VarScan-2.3.7.ebuild b/sci-biology/VarScan/VarScan-2.4.2.ebuild similarity index 70% rename from sci-biology/VarScan/VarScan-2.3.7.ebuild rename to sci-biology/VarScan/VarScan-2.4.2.ebuild index f1b31c7..63eb84a 100644 --- a/sci-biology/VarScan/VarScan-2.3.7.ebuild +++ b/sci-biology/VarScan/VarScan-2.4.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -6,7 +6,7 @@ EAPI=5 inherit java-pkg-2 -DESCRIPTION="Variant detection (germline, multi-sample, somatic mut., som. cp nr alterations (CNA)), SNP calls" +DESCRIPTION="Variant detection (germline, multi-sample, somatic mutations, CNA, SNP calls)" HOMEPAGE="http://varscan.sourceforge.net/" # binary @@ -16,11 +16,12 @@ SRC_URI="http://downloads.sourceforge.net/project/varscan/${PN}.v${PV}.source.ja LICENSE="Non-profit-OSL-3.0" SLOT="0" -KEYWORDS="" +KEYWORDS="~amd64" IUSE="" DEPEND=" - >=virtual/jdk-1.5:*" + >=virtual/jdk-1.5:* + !sci-biology/VarScan-bin" RDEPEND=">=virtual/jre-1.5:*" S="${WORKDIR}"/net/sf/varscan @@ -28,3 +29,8 @@ 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 +}