aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2016-07-12 18:28:58 +0200
committerMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2016-07-12 18:28:58 +0200
commit9ce6536356df2dffa9672161ae47b8de609c7682 (patch)
tree827e369c754b0c03a4e9d926ff90c31fb18b786d /dev-java
parentsci-biology/conrad: document more issues with the ebuild (diff)
downloadsci-9ce6536356df2dffa9672161ae47b8de609c7682.tar.gz
sci-9ce6536356df2dffa9672161ae47b8de609c7682.tar.bz2
sci-9ce6536356df2dffa9672161ae47b8de609c7682.zip
dev-java/htsjdk: re-added back 2.2.2 version due to picard-2
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/htsjdk/Manifest1
-rw-r--r--dev-java/htsjdk/htsjdk-2.2.2.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-java/htsjdk/Manifest b/dev-java/htsjdk/Manifest
index a2b7a9c5d..ef1ea94b4 100644
--- a/dev-java/htsjdk/Manifest
+++ b/dev-java/htsjdk/Manifest
@@ -1 +1,2 @@
+DIST htsjdk-2.2.2.tar.gz 11459641 SHA256 5ef1b1e6b1fcdb7f13952b61de3b2af581ba800e4f6ea37762fbbd6d4e3f6904 SHA512 69c4f6be9be16669fbbbcac2e668b564c09793763908b1c4703b760ea46fdbcf747d233f87c48888de3810379b02f2e0d8ebef4d1bf48215128e02cb4053bd10 WHIRLPOOL 023f922b8a9f04c5c995bd862576b8eb19fc97357843e1709ce2b54d9b51dd666b9e7a93e5e934dfef228840d78ea09e9dd68294f8f07d29ef9937b023ed8f73
DIST htsjdk-2.5.1.tar.gz 9121664 SHA256 78ab25ba4c540805261faf6c7f2ae57755c26f654b93da6d41dc6ff21d59dc00 SHA512 6bc67deb28556664a018dd72a89f7c84f534262dc7f18072d4e1f4bdfc51298d8aeb7086a9d2764d92c44c69844577a9b9a005b00e13fc35f2bd240bde7a347f WHIRLPOOL e5da7f92e4be3271aa1387faaf6966b212a1fbe82d8dc3cea3115f75df9c8188323bb9402b8d34e58191e13b01411d6e529a78687d1f4b963cd239f4512ec88e
diff --git a/dev-java/htsjdk/htsjdk-2.2.2.ebuild b/dev-java/htsjdk/htsjdk-2.2.2.ebuild
new file mode 100644
index 000000000..ca2cdd9cf
--- /dev/null
+++ b/dev-java/htsjdk/htsjdk-2.2.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Java API for high-throughput sequencing data (HTS) formats."
+HOMEPAGE="https://samtools.github.io/htsjdk/"
+SRC_URI="https://github.com/samtools/htsjdk/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86"
+
+CDEPEND="dev-java/commons-jexl:2
+ dev-java/commons-compress:0
+ dev-java/commons-logging:0"
+
+DEPEND=">=virtual/jdk-1.8
+ ${CDEPEND}"
+RDEPEND=">=virtual/jre-1.8
+ ${CDEPEND}"
+
+EANT_BUILD_TARGET="all"
+EANT_NEEDS_TOOLS="true"
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="commons-jexl-2,commons-compress,commons-logging"
+
+java_prepare() {
+ default
+ rm -v lib/{commons-compress,commons-jexl,commons-logging}*.jar || die
+}
+
+src_install() {
+ cd dist || die
+
+ for i in *.jar; do
+ java-pkg_newjar $i ${i/-[0-9]*.jar/.jar}
+ done
+
+ use source && java-pkg_dosrc "${S}"/src/java/*
+ use doc && java-pkg_dojavadoc "${S}"/javadoc
+}