summaryrefslogtreecommitdiff
path: root/dev-java/jclasslib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /dev-java/jclasslib
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'dev-java/jclasslib')
-rw-r--r--dev-java/jclasslib/Manifest1
-rw-r--r--dev-java/jclasslib/jclasslib-3.1-r1.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-java/jclasslib/Manifest b/dev-java/jclasslib/Manifest
index 80a411d52396..4c283371eb4c 100644
--- a/dev-java/jclasslib/Manifest
+++ b/dev-java/jclasslib/Manifest
@@ -1,3 +1,4 @@
DIST jclasslib-3.1.tar.gz 4630493 BLAKE2B 2dbede05833a6f7ff0f32194ea91aeb071615ee8562541d1b5abc2fc61c3f393bd93f5e444110a6a72df161d488cf21551af8208b1f391951b5ae7002ceb6ef3 SHA512 5c44043eb30ab32110097ef6b52f459bf4d512db71efc79aae99fdb6b9db740a7be1e6a59f6e3a233a3b303933ed90fe482c6b9c81d76de93af6c9724aad41dc
+EBUILD jclasslib-3.1-r1.ebuild 791 BLAKE2B 5c915ada703c8188fa22c13846fcc85344140355a40361f9158dec090bcc3f6764405abb02502b84405fed5cb123b7aa2cdffeba80b14414cf73d43590fc4f04 SHA512 a499200886f6f024702da032545f31dc3f9ab24ac08135e8b3b1b98a7505ce466687825ff461806e8b261b4851ff9b853ad08aaaa66954681cbaf83fcb21097b
EBUILD jclasslib-3.1.ebuild 785 BLAKE2B d2074d2243658320d3c4b18b0a57306b23e8f7d1a0d9aaf26c890b153bdb8d3edf1b044b33382da9acd7f429700b952c9260b57f2a955bff78bc14ceb0e1dd9e SHA512 339dde0b536f81c8a1d3de60571b16c0a22801d29c264f4d6a22e12e1fb936a5ff2464c68973dbc90d56c2079c2accdc2420ebb0d6a3b49047789a17defe3ad0
MISC metadata.xml 375 BLAKE2B a604e3c57ee7ec7fc9d48a15cbfeeec58ce11483275d250f5fbeb69d0343f41de2617770a2445c575ce0d66ff4619e4bd2e1a7911d117282e66ee5ea7bc5d9a4 SHA512 c3b644a00bf9a0c92cfdc04c4d03f3974dc151538f67925ab967b8e2e5ce8e3865129f01843cd2c55d23a85365e31d2bb526f6c4c2e4edca13381dabea29c786
diff --git a/dev-java/jclasslib/jclasslib-3.1-r1.ebuild b/dev-java/jclasslib/jclasslib-3.1-r1.ebuild
new file mode 100644
index 000000000000..5234a552cfb2
--- /dev/null
+++ b/dev-java/jclasslib/jclasslib-3.1-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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 ~arm ~arm64 ~x86"
+
+DEPEND=">=virtual/jdk-1.8:*"
+RDEPEND=">=virtual/jre-1.8:*"
+
+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."
+}