summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-03-17 23:20:53 +0100
committerPatrice Clement <monsieurp@gentoo.org>2017-03-17 23:59:14 +0100
commitc18f9076107205dc4de11cd6b6147f81edc383a7 (patch)
treefd1f8861bf97ef04a6466a23458a217d50133c34 /dev-java/jclasslib
parentdev-java/xmldb: EAPI 6 bump. (diff)
downloadgentoo-c18f9076107205dc4de11cd6b6147f81edc383a7.tar.gz
gentoo-c18f9076107205dc4de11cd6b6147f81edc383a7.tar.bz2
gentoo-c18f9076107205dc4de11cd6b6147f81edc383a7.zip
dev-java/jclasslib: version bump and EAPI 6 bump.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-java/jclasslib')
-rw-r--r--dev-java/jclasslib/Manifest1
-rw-r--r--dev-java/jclasslib/jclasslib-3.1.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-java/jclasslib/Manifest b/dev-java/jclasslib/Manifest
index f39d35a0dd2e..b462fd357044 100644
--- a/dev-java/jclasslib/Manifest
+++ b/dev-java/jclasslib/Manifest
@@ -1 +1,2 @@
+DIST jclasslib-3.1.tar.gz 4630493 SHA256 60186b7b613b31eb6260be00c56d28e5cd68ee964b9dc704fd0735db83bfa648 SHA512 5c44043eb30ab32110097ef6b52f459bf4d512db71efc79aae99fdb6b9db740a7be1e6a59f6e3a233a3b303933ed90fe482c6b9c81d76de93af6c9724aad41dc WHIRLPOOL 1a13025507463a148378152d13d2348ecbf08bde13c0bbe9aae4492111e9e90036020561bd8287fdd818fe4522682a61d0791b4c601c79c06b46a1c90a1fa400
DIST jclasslib_unix_3_0.tar.gz 1774938 SHA256 eec6d971b913802904e1f76758ff9b739680489bdaced18543a359308390405c SHA512 0bd46f5a1c837f888d9b570f49085bb04d71e401d89b74880bd4af765cf27493b56e17ff065b155672bf6de6edb14006c619b3afe8bc6c488dc16e2fc97131ab WHIRLPOOL c15bf9a2457b72c517c83109b8cf1c88a4d0343d3f7a82de40e20f63d518ece9f53255181e9e5cf04cae640a663bb10e7c33049bfbbd8c05a792407ae1a2db9b
diff --git a/dev-java/jclasslib/jclasslib-3.1.ebuild b/dev-java/jclasslib/jclasslib-3.1.ebuild
new file mode 100644
index 000000000000..9f33784177ea
--- /dev/null
+++ b/dev-java/jclasslib/jclasslib-3.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Java bytecode viewer"
+HOMEPAGE="https://github.com/ingokegel/jclasslib"
+SRC_URI="https://github.com/ingokegel/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=virtual/jdk-1.6"
+RDEPEND=">=virtual/jre-1.6"
+
+src_install() {
+ java-pkg_dojar "build/${PN}.jar"
+
+ java-pkg_dolauncher "${PN}" \
+ --main org.gjt.jclasslib.browser.BrowserApplication
+
+ use doc && java-pkg_dohtml -r doc/*
+ use source && java-pkg_dosrc src/*
+}
+
+pkg_postinst() {
+ elog "jclasslib uses Firefox by default."
+ elog "Set the BROWSER environment at your discretion."
+}