diff options
Diffstat (limited to 'dev-java/osgi-enterprise-api')
-rw-r--r-- | dev-java/osgi-enterprise-api/Manifest | 1 | ||||
-rw-r--r-- | dev-java/osgi-enterprise-api/metadata.xml | 8 | ||||
-rw-r--r-- | dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0.ebuild | 46 |
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-java/osgi-enterprise-api/Manifest b/dev-java/osgi-enterprise-api/Manifest new file mode 100644 index 000000000000..91fafed7763a --- /dev/null +++ b/dev-java/osgi-enterprise-api/Manifest @@ -0,0 +1 @@ +DIST osgi.enterprise-5.0.0.jar 479506 SHA256 2ad77a87fbd53e6e719bccfe4bb71bf9e409c104e7c2b500a9a59859faf85e4f SHA512 0404c05afd8cb3ef8b826b0f08deeb03b0027ca99e091953d39ef69674809c5b899e0f2c8efb685df5fce070c2aafcf813e470fbb538d4ec3b480a8060351144 WHIRLPOOL cfc9117632bcb7cdef03bc484beee374429ea665a049f079d7a649d16a56369e976a9d80469a7db2124d02e00ea2ffe11faecf52623abe66cf0241a9bd12028e diff --git a/dev-java/osgi-enterprise-api/metadata.xml b/dev-java/osgi-enterprise-api/metadata.xml new file mode 100644 index 000000000000..82a57ccd5243 --- /dev/null +++ b/dev-java/osgi-enterprise-api/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0.ebuild b/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0.ebuild new file mode 100644 index 000000000000..f4049e618f61 --- /dev/null +++ b/dev-java/osgi-enterprise-api/osgi-enterprise-api-5.0.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="OSGi Enterprise Release 5 Companion Code" +SRC_URI="http://www.osgi.org/download/r5/osgi.enterprise-${PV}.jar" +HOMEPAGE="http://www.osgi.org/Main/HomePage" + +LICENSE="Apache-2.0 OSGi-Specification-2.0" +SLOT="0" +KEYWORDS="amd64 x86" + +RESTRICT="bindist fetch" + +CDEPEND="dev-java/glassfish-persistence:0 + dev-java/osgi-core-api:0 + java-virtuals/servlet-api:2.5" + +RDEPEND="${CDEPEND} + >=virtual/jre-1.5" + +DEPEND="${CDEPEND} + >=virtual/jdk-1.5 + app-arch/unzip" + +JAVA_SRC_DIR="OSGI-OPT/src" + +JAVA_GENTOO_CLASSPATH="glassfish-persistence,osgi-core-api,servlet-api-2.5" + +pkg_nofetch() { + einfo "Please download osgi.enterprise-${PV}.jar from" + einfo " http://www.osgi.org/Download/Release5" + einfo "which you can find listed as" + einfo " OSGi Enterprise Release 5 Companion Code" + einfo "after accepting the license." +} + +java_prepare() { + rm -r org || die +} |