summaryrefslogtreecommitdiff
path: root/dev-java/annogen
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/annogen
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/annogen')
-rw-r--r--dev-java/annogen/Manifest3
-rw-r--r--dev-java/annogen/annogen-0.1.0-r3.ebuild55
-rw-r--r--dev-java/annogen/metadata.xml11
3 files changed, 69 insertions, 0 deletions
diff --git a/dev-java/annogen/Manifest b/dev-java/annogen/Manifest
new file mode 100644
index 000000000000..47978b4d0a02
--- /dev/null
+++ b/dev-java/annogen/Manifest
@@ -0,0 +1,3 @@
+DIST annogen-0.1.0.zip 1008931 BLAKE2B ca0da18f095c0db0aedfca1b83c5df6bc8fd348be3764e9ed182807189e151302f88f10c78c05a44dace66509a5a4d0e532541356758373a76932b8d284101dc SHA512 f5c4eeb92ef8c87874df6619ef701b99dace01bd3ebc87f201ee3ab523fe612b6d143da2646c280d4831bc8e3051887514aa06b8bad6928b68ddd6cd6357fa16
+EBUILD annogen-0.1.0-r3.ebuild 1092 BLAKE2B e925a3fbc7db7c4896021aa6507ff30e251068d4eab03b18036c4b01cb0ddf3a66793694b92a85702b7da021bf2448e028ae7e6ab843f675f7cf60c8d21ec58a SHA512 f53507ecf3e2327e598e373e31405ca98786a27a98e3d4d46f7e64586b72871362b10d4a0d834f3ea0127ffcb3666427a64b1ecab78c7b9abbc0dda9c3290652
+MISC metadata.xml 317 BLAKE2B 2ef8f9c718fc1d76c34bb90c379d339f64a6540e817f6215d62f4950b29a020f5fe2cbe7f94dceb5ef3ea4aac3797e87c2b7b0b6367818a5f190e5a9867cf63b SHA512 a6d16a6969b19140df262a9f967f2d8896ebfa66909d9304cb65e961a6685817744c4a3c41fa10c4f3bc6100ce31fa91afcc13d98f2e4a98a171a304012ec4fd
diff --git a/dev-java/annogen/annogen-0.1.0-r3.ebuild b/dev-java/annogen/annogen-0.1.0-r3.ebuild
new file mode 100644
index 000000000000..f6d31072bfeb
--- /dev/null
+++ b/dev-java/annogen/annogen-0.1.0-r3.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="A tool which helps you work with JSR175 annotations"
+HOMEPAGE="https://github.com/codehaus/annogen"
+SRC_URI="http://dist.codehaus.org/${PN}/distributions/${P}.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ~ppc64 ~x86"
+
+CDEPEND="
+ dev-java/qdox:1.6
+ dev-java/ant-core:0"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.6"
+
+# com.sun.mirror.declaration was removed from JDK 7 onwards.
+# These two files are just interfaces anyway.
+JAVA_RM_FILES=(
+ org/codehaus/annogen/view/MirrorAnnoViewer.java
+ org/codehaus/annogen/override/MirrorElementIdPool.java
+)
+
+JAVA_GENTOO_CLASSPATH="
+ ant-core
+ qdox-1.6
+"
+
+src_unpack() {
+ default
+ unzip -o -q "${S}/${PN}-src-${PV}.zip" || die
+}
+
+java_prepare() {
+ java-pkg_clean
+ rm -rv examples || die
+}
+
+src_compile() {
+ # Needed for com.sun.* imports
+ JAVA_GENTOO_CLASSPATH_EXTRA="$(java-config -t)" \
+ java-pkg-simple_src_compile
+}
diff --git a/dev-java/annogen/metadata.xml b/dev-java/annogen/metadata.xml
new file mode 100644
index 000000000000..3073b0da13b9
--- /dev/null
+++ b/dev-java/annogen/metadata.xml
@@ -0,0 +1,11 @@
+<?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="github">codehaus/annogen</remote-id>
+ </upstream>
+</pkgmetadata>