dev-java/jclasslib: version bump and EAPI 6 bump.
authorPatrice Clement <monsieurp@gentoo.org>
Fri, 17 Mar 2017 22:20:53 +0000 (23:20 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Fri, 17 Mar 2017 22:59:14 +0000 (23:59 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-java/jclasslib/Manifest
dev-java/jclasslib/jclasslib-3.1.ebuild [new file with mode: 0644]

index f39d35a0dd2e51eed43c2ad89623fe7f7bce0dbe..b462fd35704450537ec6219baeefaef026626081 100644 (file)
@@ -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 (file)
index 0000000..9f33784
--- /dev/null
@@ -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."
+}