summaryrefslogtreecommitdiff
path: root/dev-java/jclasslib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/jclasslib
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/jclasslib')
-rw-r--r--dev-java/jclasslib/Manifest3
-rw-r--r--dev-java/jclasslib/jclasslib-3.1.ebuild34
-rw-r--r--dev-java/jclasslib/metadata.xml12
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-java/jclasslib/Manifest b/dev-java/jclasslib/Manifest
new file mode 100644
index 000000000000..41dc56b11912
--- /dev/null
+++ b/dev-java/jclasslib/Manifest
@@ -0,0 +1,3 @@
+DIST jclasslib-3.1.tar.gz 4630493 BLAKE2B 2dbede05833a6f7ff0f32194ea91aeb071615ee8562541d1b5abc2fc61c3f393bd93f5e444110a6a72df161d488cf21551af8208b1f391951b5ae7002ceb6ef3 SHA512 5c44043eb30ab32110097ef6b52f459bf4d512db71efc79aae99fdb6b9db740a7be1e6a59f6e3a233a3b303933ed90fe482c6b9c81d76de93af6c9724aad41dc
+EBUILD jclasslib-3.1.ebuild 776 BLAKE2B 29602b4386651dd5edaeb924ce4b56125554159e448b649ecb99cbd3a0ea0dabd1d0fd0d7714a070d078aaefed44e93991671a1c98f92809c249dc32d077c652 SHA512 91d0ebeffa9539c9e6aeae71951d9cd89f1c1aa2c701a086c3bcc904f8692af6cbd3038c63faa40c918bc64af4cb6fc15b1dd26347df0a96d3c8ca3b045e1cb6
+MISC metadata.xml 374 BLAKE2B e0919272ff6e152907ffa22c7bc8778201b38ae1f53a553cc66ccc4d13095ec1ed7044c4fc3eab3eb4aecdb6667bbf4701b6934d06f0eb01519b01fc9aec4145 SHA512 7f7c3383fdc738b2e67837e024d23c6b9fc4a3288b443ecac539c69766b94769a60a0bc0e1b271d6698266fe3c7f3fee81444e36c4e6dd57e8568c51cea140ca
diff --git a/dev-java/jclasslib/jclasslib-3.1.ebuild b/dev-java/jclasslib/jclasslib-3.1.ebuild
new file mode 100644
index 000000000000..5a0c811e7b02
--- /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."
+}
diff --git a/dev-java/jclasslib/metadata.xml b/dev-java/jclasslib/metadata.xml
new file mode 100644
index 000000000000..f860d915bfe9
--- /dev/null
+++ b/dev-java/jclasslib/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">jclasslib</remote-id>
+ <remote-id type="github">ingokegel/jclasslib</remote-id>
+ </upstream>
+</pkgmetadata>