Skip to content

Commit

Permalink
dev-java/osgi-core-api: EAPI 8, min java 1.8:*
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <[email protected]>
Closes: gentoo@a96be15
Signed-off-by: Miroslav Šulc <[email protected]>
  • Loading branch information
vaukai authored and fordfrog committed Dec 13, 2021
1 parent bfe88bd commit 36590c6
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions dev-java/osgi-core-api/osgi-core-api-5.0.0-r2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

JAVA_PKG_IUSE="doc source"
MAVEN_ID="org.osgi:org.osgi.core:5.0.0"

inherit java-pkg-2 java-pkg-simple

DESCRIPTION="OSGi Service Platform Core API (Companion Code)"
HOMEPAGE="http://www.osgi.org/Specifications/HomePage"
SRC_URI="http://www.osgi.org/download/r5/osgi.core-${PV}.jar"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x64-macos"

RDEPEND=">=virtual/jre-1.8:*"

DEPEND=">=virtual/jdk-1.8:*
app-arch/unzip"

JAVA_SRC_DIR="OSGI-OPT/src"

src_prepare() {
default
rm -r org || die
}

0 comments on commit 36590c6

Please sign in to comment.